Letter grade

Read a score from 0 to 100 and print its letter grade:

  • A for 90 or more
  • B for 80 to 89
  • C for 70 to 79
  • D for 60 to 69
  • F for less than 60

Think about the order of your conditions: if you check score >= 60 first, a score of 95 would get a D.

Tests
Results will be shown here
C++
Console
Press Run to start your program.