Answered step by step
Verified Expert Solution
Link Copied!

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.

image text in transcribed

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 stats

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Time Series Databases New Ways To Store And Access Data

Authors: Ted Dunning, Ellen Friedman

1st Edition

1491914726, 978-1491914724

More Books

Students also viewed these Databases questions

Question

1. What might have led to the misinformation?

Answered: 1 week ago