Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Hi, I need some help. I have done some of it but not sure if it is correct. Write a C++ program that prompts the
Hi, I need some help. I have done some of it but not sure if it is correct.
Write a C++ program that prompts the user to enter a set of test scores in. Once the user is done entering the data, the program will display the followings: Number of test scores entered. Number of valid test scores (a valid test score is between 0 and 100) The average test score The highest and lowest test scores Note that a user should be able to enter any number of test scores (for example, a user may enter 10 test scores, another user may have 100 test scores, and yet a third user may have 1000 test scores - your program should be able to handle all of these cases). Program checklist Your program must contain the following C++ control structures A loop construct (for loop, while loop, do-while loop or a combination) o Conditional statements Do not hard-code any of the test scores Do not use global variables Validate that the test score is between 0 and 100. Reject any test scores that is outside this range. The program displays all required statsStep 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