Question: Write a program in java to calculate the average of three test scores. Each test score will be a whole number. The average should be

Write a program in java to calculate the average of three test scores. Each test score will be a whole number. The average should be calculated so that the average is displayed with a fractional part. Prompt the user for the three test scores. My sample output is as follows:

Enter first test score: 93

Enter second test score: 87

Enter third test score: 86

The average is: 88.66666666666667

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!