-
Notifications
You must be signed in to change notification settings - Fork 0
Practice Problem 4
Seanti edited this page Mar 26, 2025
·
1 revision
Create a grading system where the user inputs a numerical grade (1-100). The program should output the corresponding letter grade based on the following scale:
-
90-100 → A
-
80-89 → B
-
70-79 → C
-
60-69 → D
-
Below 60 → F
Enter your grade: 85
Your letter grade is: B
Enter your grade: 72
Your letter grade is: C
Enter your grade: 59
Your letter grade is: F