Answer to Question #37051 in C++ for Hafiz Hamidon
Write a C program to read in a collection of exam scores ranging from 0 to 100 using sentinel-based while loop. Then, it should count and display the number of outstanding scores (90 to 100), the number of satisfactory scores (60 to 89), and the number of unsatisfactory scores (0 to 59). You must also include the following requirements in the program:
• Display the average score at the end of the program.
• Make sure each score is valid (in the range 0 to 100). If invalid score is entered, you must prompt with a suitable message and user needs to re-enter again the score.
Need a fast expert's response?Submit order
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!