Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

(1) Prompt the user to input a set (the maxim number in the set is 50) of unspecified number of integers (the input of 0

image text in transcribedimage text in transcribed(1) 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 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 (3) 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 -3

zyBooks My library > ENGR 204 home > 145 Prog 5: Average @zyBooks catalog @ HelpFAQ 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 0 signifies the end of the input), then display the inputted numbers (2 points) Enter a set of integers (0 onds the input): 2 5 10 -6-3 50 770 The inputted numbers are: 25 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 (3) Display all the number above and below the average (5 pts) 2 nunbers above the average: 50 77 5 numbers below the average: 2 5 10 -6-3 O Type here to search

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

consider the function f(x)=pi-x for 0

Answered: 1 week ago

Question

friendliness and sincerity;

Answered: 1 week ago