subject

Write a c programthat prompts for a variable number of integers, adds them up, averages them, and prints out the average.
the user will enter eitheran integer to be averaged or a sentinel of 999 indicating that nomore numbers are to be entered. when the sentinel is entered, theprogram will exit the repetition loop. it will then compute anddisplay the average of numbers entered.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 00:30
Knowing that the central portion of link bd has a uniform cross sectional area of 800 mm2 , determine the magnitude of the load p for which the normal stress in link bd is 50 mpa. (hint: link bd is a two-force member.) ans: p = 62.7 kn
Answers: 2
question
Computers and Technology, 23.06.2019 06:30
You are consulting for a beverage distributor who is interested in determining the benefits it could achieve from implementing new information systems. what will you advise as the first step?
Answers: 1
question
Computers and Technology, 23.06.2019 10:50
The volume v and paper surface area a of a conical paper cup are given by where r is the radius of the base of the cone and h is the height of the cone. a. by eliminating h, obtain the expression for a as a function of r and v. b. create a user-de ned function that accepts r as the only argument and computes a for a given value of v. declare v to be global within the function. c. for v ! 10 in.3 , use the function with the fminbnd function to compute the value of r that minimizes the area a. what is the corresponding value of the height h? investigate the sensitivity of the solution by plotting v versus r. how much can r vary about its optimal value before the area increases 10 percent above its minimum value?
Answers: 1
question
Computers and Technology, 23.06.2019 17:30
What are the most commonly found items in the trash according to the municipal solid waste report?
Answers: 1
You know the right answer?
Write a c programthat prompts for a variable number of integers, adds them up, averages them, and pr...
Questions
question
Mathematics, 07.01.2021 18:30
question
Biology, 07.01.2021 18:30
question
Business, 07.01.2021 18:30
question
Mathematics, 07.01.2021 18:30
question
Computers and Technology, 07.01.2021 18:30
Questions on the website: 13722365