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.
The answer to the question is available in the PDF file https://assignmentexpert.com/https://assignmentexpert.com/homework-answers/programming-answer-37051.pdf
Comments
Leave a comment