Question: This is Java program. Ask the user for 10 positive integers or if they want to quit early, they can enter a negative number. Return

This is Java program.

Ask the user for 10 positive integers or if they want to quit early, they can enter a negative number. Return to the user the number of the positive integers, their total and their average as decimal number (floating point).This is Java program. Ask the user for 10 positive integers or

Please enter 10 numbers or a negative to stop num 1: 23 num 2: 56 num 6: -34 The total of your 5 numbers is: 147 The average for the 5 numbers is: 29.4

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!