Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Finding the Average Write a program to find the average of 1 0 numbers that are entered by the user Then modify the program to

Finding the Average
Write a program to find the average of 10 numbers that are entered by the user
Then modify the program to find the average of as many numbers as the user wants. In other words, ask the user to enter how many numbers he would like
to find the average for, then prompt him for that many values.
Modify the program again to prompt the user after finding the average to see if he would like to find the average of another set of numbers. If e
he would like to find the average of another set of numbers. If so, the progran should start over by prompting him to enter the number of values he would
Change the program so that it does not prompt the user to
Change the program so that it does not prompt the user to enter how many numbers he wants to find the average for, but tells him to enter values until he
enters -1. When you read a -1 of the values up to that point.
image text in transcribed

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

Advanced MySQL 8 Discover The Full Potential Of MySQL And Ensure High Performance Of Your Database

Authors: Eric Vanier ,Birju Shah ,Tejaswi Malepati

1st Edition

1788834445, 978-1788834445

More Books

Students also viewed these Databases questions

Question

b. Why were these values considered important?

Answered: 1 week ago

Question

=+5 Does this case provide an example of the future for IHRM?

Answered: 1 week ago

Question

=+4 How did it affect HR?

Answered: 1 week ago