Reference no: EM132209672
Question :
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 student's 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.
You need to submit 3 files through the blackboard: a source code (.cpp file), an output file (.txt file), and the application (.exe file).