Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Professional Android 4 Application Development

Authors: Reto Meier

3rd Edition

1118223853, 9781118223857

More Books

Students also viewed these Programming questions