Question: Analyze scores: Write a program that reads an unspecified number of scores and determines how many scores are above or equal to the average and
Analyze scores:
Write a program that reads an unspecified number of scores and determines how many scores are above or equal to the average and how many scores are below the average. Enter a negative number to signify the end of the input. Assume that the maximum number of scores is 100.
Here is a sample run:
Enter a new score or negative number to exit: 99.1
Enter a new score or negative number to exit: 85.6
Enter a new score or negative number to exit: -1
Total scores entered: 2
Average score: 92.35
Number of scores above or equal to the average: 1
Number of scores below the average: 1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
