BeginnerConditionals2000 ms256 MB
Grade Calculator
Given a numeric score, print the matching letter grade.
Statement
Given a numeric score, print the matching letter grade.
Input
One integer score from 0 to 100.
Output
A, B, C, D, or F.
Constraints
- `0 <= score <= 100`
Examples
Example 1
Input
87Output
BScores from 80 to 89 earn B.
Sample runs use visible examples. Full submissions are checked securely on the server, and private test cases are not shown in the browser.