0

Why this code is not working??? Please help me in this guys đŸ€”đŸ€”???

var score = parseInt(readLine(), 10) /* 88 and above => excellent 40-87 => good 0-39 => fail */ // your code goes here if(score >=88){ console.log("excellent"); } else if(score >=40 && score <=87);{ console.log("good"); } else { console.log("fail"); }

20th Aug 2022, 4:11 PM
Golu
Golu - avatar
2 Answers
+ 2
Golu You have semicolon after else if
20th Aug 2022, 4:14 PM
AÍąJ
AÍąJ - avatar
+ 1
Thanks... We can't ignore semicolonđŸ€—
20th Aug 2022, 4:25 PM
Golu
Golu - avatar