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).
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
Get step-by-step solutions from verified subject matter experts
