0

Can't find error

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

26th Feb 2023, 8:44 AM
Vikash Kumar
2 Answers
+ 4
Write comparison operators as >= , <= not like =< or =>.
26th Feb 2023, 8:50 AM
Hasnain [ACTIVE CHALLENGER]
Hasnain [ACTIVE CHALLENGER] - avatar
+ 4
You had not defined the readline method
26th Feb 2023, 8:58 AM
Hasnain [ACTIVE CHALLENGER]
Hasnain [ACTIVE CHALLENGER] - avatar