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
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