Write a program to read a list of exam scores given as integer percentages in the range O to 100. Display the total number of grades and the number of grades in each letter-grade category as follows: 90 to 100 is an A, 80 to 89 is a B, 70 to 79 is a C, 60 to 69 is a D, and O to 59 is an F. Use a negative score as a sentinel value to indicate the end of the input. (The negative value is used only to end the loop, so do not use it in the calculations.) For example, if the input is
98 87 86 85 85 78 72 70 66 63 50 - 1
The output would be
Total number of grades = 14Number of A's = 1"Number of B's = 4Number of C's = 6Number of D'S
2Number of F's = 1
+2
Answers (1)
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Write a program to read a list of exam scores given as integer percentages in the range O to 100. Display the total number of grades and ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Home » Computers & Technology » Write a program to read a list of exam scores given as integer percentages in the range O to 100. Display the total number of grades and the number of grades in each letter-grade category as follows: 90 to 100 is an A, 80 to 89 is a B, 70 to 79 is a