Using the following table as a guide, write a program that asks the user to enter an integer test score between 0 and 100. The program should display the appropriate letter grade.
Score range Letter grade
90-100 A
80-89 B
70-79 C
60-69 D
0-59 F
• Run in a loop so that multiple test scores can be entered. Exit the program when you input 999 as the test score.
• Accumulate a counter of the number of test scores.
• Perform range checking on the user’s input: display an error message if the test score is less than 0 or grater than 100.