Why this code is not working??? Please help me in this guys 🤔🤔??? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
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 ответов
+ 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