Question: C++ Program 4 Write a program that the user is prompted for 10 test scores. 0 to 100 points each score. Open a file for
C++
Program 4 Write a program that the user is prompted for 10 test scores. 0 to 100 points each score. Open a file for output, called savedTestScores.txt. Write a loop that prompts the user for the 10 test scores. Each time a test score is entered by the user, write the test score to savedNames file. And save each test score to an array, called arrayTestScores. Close the file. Using the scores stored in the array, write a loop that reads through the array to determine the minimum, maximum and average test scores. Print out the minimum, maximum and average test scores. Are the scores written to the file ? Use filename: Week17YourNameProg3
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
