Question
C++ format please. Write a program that computes and displays the average test score, highest test score and lowest test score of a set of
C++ format please. Write a program that computes and displays the average test score, highest test score and lowest test score of a set of test scores entered by a user. For each student, a user should enter the students first name and a test score (float). A user should be able to enter any number of test scores (for example, a user may have 10 test scores, another user may have 100 test scores, and a third user may have 1000 test scores your program should be able to handle all of these cases). In addition to computing and displaying on the screen the average, highest, and lowest test scores, the program should write the students names and their test scores as well as the number of students in the class, and the average, highest, and lowest scores to an output file called test_Scores.txt.
For example, the output file could contain:
John 90
Ann 87
Martin 92.1
There are 3 students in this class.
The average test score is 89.7.
The highest test score is 92.1.
The lowest test score is 87.
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