Question: Write a java program that prompts the user to input 5 integers separated by spaces, reads the integers in, and computes and displays the maximum,

Write a java program that prompts the user to input 5 integers separated by spaces, reads the integers in, and computes and displays the maximum, minimum and average (a double) of the numbers.

Write a java program that prompts the user to input 5 integers

linux5:/CS1/Week68 java Q6.1 Enter 5 integers, separated by spaces: 12 34 21 10 9 Max34 Min 9 Average -17.2

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!