0
What's wrong here?
var score = parseInt(readLine(), 10) if(score => 88) console.log("excellent"); else if(score >= 40 && score < 88) console.log("good"); else console.log("fail"); /* 88 and above => excellent 40-87 => good 0-39 => fail */ // your code goes here
1 Odpowiedź
+ 1
The if block should be like so
if( score >= 88 )