subject

Write a program that will compute the average of a set of decimal numbers provided by the user. The program will ask the user to enter the numbers one at a time. The user will indicate the end of data by entering q when asked for a number. The user will enter numbers and the program will keep a count of the numbers entered. At the end, the program will display the sum, the count and the average of the numbers entered. See thr Test section below for test data.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 00:30
Quick pl which one of the following is considered a peripheral? a software b mouse c usb connector d motherboard
Answers: 1
question
Computers and Technology, 23.06.2019 15:00
Jake really works well with numbers and is skilled with computers but doesn't work well with others. which of the jobs discussed in this unit might be best for jake? why?
Answers: 3
question
Computers and Technology, 25.06.2019 12:10
Create a function called quadform( ) that takes as input the coefficients of the quadratic equation (a,b,c) and returns the two distinct real roots (x1,x2) as output, if they exist. in addition, the function returns a message (flag) that informs the user if an error occurred when trying to find two distinct real roots. the possible errors are: (1) "only one root is found"; (2) "imaginary roots are found"; (3) "any value of x is a solution"; (4) "no zeroes exist." if no errors occur, then flag should be "no errors".
Answers: 1
question
Computers and Technology, 25.06.2019 17:30
Is the number of sentinels that need to agree the fact that the master is not reachable and make a failover procedure promoting slave to master.
Answers: 1
You know the right answer?
Write a program that will compute the average of a set of decimal numbers provided by the user. The...
Questions
question
Chemistry, 20.05.2020 19:59
question
History, 20.05.2020 19:59
question
Mathematics, 20.05.2020 20:57
Questions on the website: 13722367