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