Question: Determine the average of test scores. When completing this question, remember the order of operations. Write a program that calculates an average of five test
Determine the average of test scores. When completing this question, remember the order of operations. Write a program that calculates an average of five test scores. The output will display the average test score.
Get the first test score.
Get the second test score.
Get the third test score.
Get the fourth test score.
Get the fifth test score.
Calculate the average by adding 5 test scores and dividing the sum by 5.
Display the average.
Make sure you add comments to each step.
in the average = area, you will concat scores and finish the arithmetic as stated above.
Write the Program that displays the output below:
Enter the first test score: 90 Enter the second test score: 80 Enter the third test score: 70 Enter the fourth test score: 90 Enter the fifth test score: 100 The average test score is: 86.0
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
