Grade the Quest (Conditionals)

Read a score from 0 to 100 and print its grade: A (90+), B (80+), C (70+), D (60+), otherwise F.

Input: One integer.

Output: One letter.

Difficulty: Easy. Write your answer in the browser editor, run the examples, then submit it against hidden tests. Python and JavaScript are free; other languages are part of licode Club.

Hint

  • Check from the highest grade down.

More Conditionals practice