Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1. Using java Prompt the user to input a set (the maxim number in the set is 50) of unspecified number of integers (the input
1. Using java Prompt the user to input a set (the maxim number in the set is 50) of unspecified number of integers (the input of 0 signifies the end of the input), then display the inputted numbers.
2. Find the average of all the numbers, format to 2 decimal places
3. Display all the number above and below the average.
14.5 Prog 5: Average (1) Prompt the user to input a set (the maxim number in the set is 50) of unspecified number of integers (the input of O signifies the end of the input), then display the inputted numbers (2 points) Enter a set of integers (0 ends the input) 2 5 10 -6 -3 50 77 0 The inputted numbers are: 2 5 10 -6-3 50 77 (2) Find the average of all the numbers, format to 2 decimal places (3 pts) The average is 19.29 Display all the number above and below the average (5 pts) 2 numbers above the average: 50 77 5 numbers below the average: 2 5 10 -6-3Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started