calculates the average rainfall

Assignment Help C/C++ Programming
Reference no: EM13325620

Write a program that calculates the average rainfall for three months. The program should ask the user to enter the name of each month, such as June or July, and the amount of rain (in millimeters) that fell each month. The program should display a message similar to the following:

The average rainfall for June, July, and August is 6.72 millimeter.

 

Reference no: EM13325620

Questions Cloud

Does the social cost of a monopoly increase : If a cartel like OPEC restricts the output of member nations to less than they are capable of producing with their existing levels of capital equipment, does the social cost of a monopoly increase? Explain.
Calculate the force a mother must exert to hold her child : Calculate the force a mother must exert to hold her 12.0 kg child in an elevator accelerates upward at 0.850 m/s2
What will happen to the demand of fuel oil : If price of motor vehicles rises, what will happen to the demand of fuel oil? In which direction the demand curve for fuel oil will shift with a rise in price of motor vehicles?
Analyze the vendor features and functions in peachtree : Analyze the vendor features and functions in Peachtree and recommend at least one additional feature or function you would like to see, as well as how that new feature or function would allow you to produce better quality information.
calculates the average rainfall : Write a program that calculates the average rainfall for three months. The program should ask the user to enter the name of each month, such as June or July, and the amount of rain (in millimeters) that fell each month.
Display the average and save the average to the file : Write a program that asks the user to enter five floating-point numbers. The program should create a file and save all five numbers to the file.
Calculate the force she must exert : When landing after a spectacular somersault, a 40.0 kg gymnast decelerates by pushing straight down on the mat. Calculate the force she must exert
Find out the energy of 1.20mol of photons : Determine the energy of 1.20mol of photons for each of the following kinds of light. (Assume three significant figures.) infrared radiation (1480nm) visible light (520nm) ultraviolet radiation (130nm)
What about the concession stand inside the theater : If a local movie theater sells tickets at different prices (senior citizens versus young people, matinee versus evening prices) is the local movie theater a monopoly? What about the concession stand inside the theater?

Reviews

Write a Review

C/C++ Programming Questions & Answers

  What constructors do and when they are executed

Explain what constructors do and when they are executed. Explain the two types of constructors. Provide an example class that includes both types of constructor functions and demonstrate how an object would be instantiated using both types of constru..

  Design customized mailing lists for marketing department

Marketing department requires to be able to design customized mailing lists, to send different messages to different types of donors. What system will best meet these requirements?

  Create a friend class

Create a Friend class that contains a first name, last name, a birthday, and a telephone number. Create a Contacts class that contains an array of Friend as well as the owner's name and cell phone Number.

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  The mean and standard deviation

How do i write a program in c++ that use functions max, min, the total numbers, the mean and standard deviation to read a file text and return these values from the file text. note the file text has random numbers. note im not suppose to use arrays.

  Write c++ programs

Write a C++ program to accept distance in kilometers, coverts it to meters and then displays the result. Write a C++ program to find area and circumference of a circle.

  Write program to count occurrences of each word in text

Write down C++ program to read following text. Count occurrences of each word in text and keep this count in list of elements containing (word, occurrence count) pairs.

  Write a program that asks the user to enter the names of 3

Write a program that asks the user to enter the names of three salesmen. The program should thenaccept the sales produced for salesman for each quarter of the year. Display the name, and the totalsales amount, of each salesman.

  Prepare a temperature converter

Have to write a small program that prompts the user to enter a temperature in degrees Fahrenheit and then prints a massage as to whether the alarm will sound at that temperature.

  An array-based queue for bcs registration

objective of this assignment is to use C++ to queue studentsinto an array-based queue for BCS registration. Students have the option of taking five different courses, but each course can only hold 8 students.

  Create a road class

Create a Road class. The class should have functions for setting the width of the road in feet and the length of the road in miles. It should also have functions for obtaining the width of the road the length of the road

  Show the deatils of an emplyoee - c programming

Show the deatils of an emplyoee in a neat format.

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