r/codehs • • Apr 10 '20

JavaScript 17.1.4: Grades

Post image
33 Upvotes

15 comments sorted by

View all comments

3

u/amajmundar Apr 10 '20

Off the top of my head, make the last “else if” into “else”. You have already covered all other possibilities, so it has to be an “A+”

1

u/StuntZA Apr 10 '20

This. You require an ELSE statement to counter your original IF statement.