Question: C++ use while loop 2. Write a program that will prompt for and read in a list of test scores (integers in the range 0100
2. Write a program that will prompt for and read in a list of test scores (integers in the range 0100 ) from the user and will determine and print out: 1. The total number of test scores entered. 1. The maximum of the test scores entered. 2. The miniman of the test scores entered. 3. The average of all of the test scores entered. Assume that the user enters a negative sentinel value to indicate "end of data entry". Do not assume that the user knows how many numbers are to be entered. Here is an example of what output should look like from running your program (user input is shown in bold): Enter score 1:82 Enter score 2: 72 Enter score 3: 65 Enter score 4: 58 Enter score 5: 91 Enter score 6: 69 Enter score 7: 89 Enter score 8: 1 You entered 7 scores. Maximum score =91 Minimum score =58 Average score =75.1429
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
