Question: I need help with this in Java Problem: Develop a Java program to allow a user to enter a series of integers from the keyboard.

I need help with this in Java  I need help with this in Java Problem: Develop a Java

Problem: Develop a Java program to allow a user to enter a series of integers from the keyboard. The last number entered is always-1 and this is the only time it is entered. Display the list of numbers entered then find and display the sum and average of all positive integers entered from the keyboard. Also print the difference between each positive number entered and the average. Run your program using the following data: Run 1: 0,-2,-4,-5,-1 Run 2: -1 Run 3: 4, 8, 10, 12,-5, 20,-1 Display the output for each sample run

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!