Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
C++
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 use while loop
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started