Question
Write a program that prompts the user to enter five test scores and then print the average test score to the screen. (Assume that the
Write a program that prompts the user to enter five test scores and then print the average test score to the screen. (Assume that the test scores are decimal numbers). Use the following 5 numbers: 10.5 5.5 20.0 10.0 5.5.
I am having trouble understanding where the 5 values are entered in the program.
The program has been provided:
#include
// when using Visual Studio, use the system/pause command to display the results of your program // system("pause");
return 0; }
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