Emails us- support@assignmnetanswers.com. Call US

Assignment help 6976

I am writing psuedocode for a program that lets the user enter the total rainfall for each of 12 months into an array. The program should calculate and display the total rainfall for the year, the average monthly rainfall, and the months with the highest and lowest amounts. This is what I have so far, im missing function definition.

Module main ( )

Constant Integer SIZE = 12

Declare Real rainfall [SIZE]

Declare Real totalRainfall, avgRainfall

Declare String monthWithHighestRainfallAmount, monthWithLowestRainfallAmount

Call getMonthlyRainfall (rainfall, SIZE)

Set totalRainfall = getTotalRainfall (rainfall, SIZE)

Set monthWithLowestRainfallAmount = getLowestRainfall (rainfall, SIZE)

Set monthWithHighestRainfallAmount = getHighestRainfall (rainfall, SIZE)

Set avgRainfall = totalRainfall / SIZE

Display “The total rainfall for the year is : “; totalRainfall

Display “The average monthly rainfall is:”; avgRainfall

Display “The Month With the highest rainfall amount is: “; monthWithHighestRainfallAmount

Display “The Month With the lowest rainfall amount is: “; monthWithLowestRainfallAmoun

End For

Solution:

15% off for this assignment.

Our Prices Start at $11.99. As Our First Client, Use Coupon Code GET15 to claim 15% Discount This Month!!

Why US?

100% Confidentiality

Information about customers is confidential and never disclosed to third parties.

Timely Delivery

No missed deadlines – 97% of assignments are completed in time.

Original Writing

We complete all papers from scratch. You can get a plagiarism report.

Money Back

If you are convinced that our writer has not followed your requirements, feel free to ask for a refund.