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, 21.06.2019 17:00
How can data be added to a new table in data base
Answers: 1
question
Computers and Technology, 23.06.2019 18:30
This program should be a short piece of code that prints all of the positive integers from 1 to 100 as described more fully below. the program may contain multiple methods, and if using an oo language, should be contained within a single class or object. the program should be designed so that it begins execution when invoked through whichever mechanism is most common for the implementation language. â–ş print out all positive integers from 1 to 100, inclusive and in order. â–ş print messages to standard output, matching the sample output below. â–ş in the output, state whether the each integer is 'odd' or 'even' in the output. â–ş if the number is divisible by three, instead of stating that the number is odd or even, state that the number is 'divisible by three'. â–ş if the number is divisible by both two and three, instead of saying that the number is odd, even or divisible by three; state that the number is 'divisible by two and three'. â–ş design the logic of the loop to be as efficient as possible, using the minimal number of operations to perform the required logic. sample output the number '1' is odd. the number '2' is even. the number '3' is divisible by three. the number '6' is divisible by two and three.
Answers: 1
question
Computers and Technology, 24.06.2019 08:50
Write a program that will compute the volume of ice cream served in a cone. as you can see in the diagram below, the ice cream is served as a hemisphere of frozen deliciousness on top of a cone, which is also packed with frozen deliciousness. thus, the total volume of ice cream sold is the volume of the hemisphere plus the volume of the cone. the example shows an ice cream cone in which the hemisphere and cone have a radius of 10 inches and the cone has a height of 15 inches. your program must instead prompt for these two values, which are taken from the keyboard as integers: • the hemisphere/cone radius in inches, and
Answers: 3
question
Computers and Technology, 24.06.2019 15:30
If you want to delete an entire word at a time, which key should you press along with the backspace or delete key?
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
History, 07.03.2020 09:59
question
Mathematics, 07.03.2020 09:59
question
Mathematics, 07.03.2020 10:00
question
Computers and Technology, 07.03.2020 10:04
question
Computers and Technology, 07.03.2020 10:05
question
Mathematics, 07.03.2020 10:05
question
Social Studies, 07.03.2020 10:07
question
History, 07.03.2020 10:07
question
Mathematics, 07.03.2020 10:09
Questions on the website: 13722359