Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

c++ Write a program that asks the user to fill an array with the monthly rainfall average for 12 months. Your program should then find

image text in transcribed

c++

Write a program that asks the user to fill an array with the monthly rainfall average for 12 months. Your program should then find and display the following: The maximum monthly rainfall average. The month with the highest rainfall average. The annual (yearly) rainfall average. [Sample Run] Enter 12 monthly rainfall averages: 24.5 32.7 28.6 18.3 12.5 24.8 9.5 4.5 5.5 12.5 22.5 27.2 The maximum rainfall average is: 32.7 Month #2 is the month with the highest rainfall average The annual rainfall average is: 18.59

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Repairing And Querying Databases Under Aggregate Constraints

Authors: Sergio Flesca ,Filippo Furfaro ,Francesco Parisi

2011th Edition

146141640X, 978-1461416401

More Books

Students also viewed these Databases questions