Write program-compute average using floating-point numbers

Assignment Help Programming Languages
Reference no: EM1362153

Q1) Write a program that will accept as input between 2 and 25 numbers and then calculate the average of the numbers.

Make sure you use floating-point numbers in case the average is not a whole number.

You should create the program to work in a loop to accept the input until you instruct the program that no more input is forthcoming and to then calculate the average.

Your output should include the numbers used as input and then the average of the input numbers.

Reference no: EM1362153

Questions Cloud

Explain characteristics of the modern bureaucracy : Characteristics of the Modern Bureaucracy - Show your view regarding the modern bureaucracy, particularly regarding the size of the bureaucracy
What is the new value of energy stored in it : what is the new value of energy stored in it. What is the force that is acting between them.
Cultural perceptions undermine health education efforts : To what extent do cultural perceptions undermine health education efforts? To what extent do cultural perceptions enhance health communication efforts?
Evalute your results to the nearest hundredth of a percent : Find a 95% confidence interval for the true percent of car owners in this city who recieved a speeding ticket this year. Evalute your results to the nearest hundredth of a percent.
Write program-compute average using floating-point numbers : Write a program that will accept as input between 2 and 25 numbers and then calculate the average of the numbers. Make sure you use floating-point numbers in case the average is not a whole number.
Show ideal bureaucracy : Describe how you would adjust, amend, or reform the current bureaucracy to meet the needs of the United States in the 21st century.
How much time passes before the brick lands on the ground : how much time passes before the brick lands on the ground.
Explain top leaders in government and business : Explain Top leaders in government and business today are and held to higher ethical standards than in the past
Illustrate what would happen to the total employment : Illustrate what would happen to the total employment, the size of the labor force, and the unemployment rate? Show the results graphically.

Reviews

Write a Review

Programming Languages Questions & Answers

  Identify some array used in organization

Identify some array used in your organization or an organization for which you know, the business applications; and share the information.

  Write a program to calculate diameter in centimeters

Write a program to compute the diameter in centimeters of steel rod, aluminum rod, adn copper rod, which can withstand a particular compression load.

  Create xml document to mark nutrition facts for cookies

Create an XML document that marks up the nutrition facts for a package of Grandma White's cookies. A package of cookies has a serving size of 1 package and the following nutritional value per serving.

  Tools assist novice programmer to generate code

Structured English and gave to a novice programmer who used it to create code? If not, what other tools could be used to assist the novice programmer to generate code?

  General layout for a web-based source document

Suggest the general layout for web-based source document that prospective sellers could use to explain their antiques. Information must include the user ID, password, item, dimensions, origin, condition, and asking price.

  Write stored function that takes in zipcode as parameters

Write a stored function called zip_exist that takes in a zipcode.zip%Type parameter and returns a Boolean. The function will return TRUE if the zipcode passed into it exists.

  Program to display aggregate information for state

For each state, display aggregate information for that state, including: the total number of counties in the state, the total number of tax returns.

  Write program that asks user to enter five test scores

Write a program that asks the user to enter five test scores. The program should display a letter grade for each score and the average test score.

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

  Draw a gui to create objects

Draw a GUI that will create the objects and provide access to each object's processing methods. Use the drawing tool in Microsoft Word.

  Sql query to retrieve data

Write SQL query to retrieve data from COURSE table for courses.

  Explaining data-driven multicast routing paradigm

The data-driven multicast routing paradigm works best on local networks that have low delay and excess capacity, while the demand driven paradigm works best in a wide are environment.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd