Question: Write a program that prompts the user for three integer scores (must be int data type). Calculate and display the average score as a double

Write a program that prompts the user for three integer scores (must be int data type). Calculate and display the average score as a double value. Use the following data: scores are 90, 91,100. Confirm result using a calculator. This is called as desk checking a program.

Example Output: Enter test 1 score: 90 Enter test 2 score: 91 Enter test 3 score: 100 The average of the 3 scores is 93.6666667

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!