Program uses a two-dimensional array


Discuss teh below:

Q: Create a C++ program that uses a two-dimensional array to store the highest and lowest temperature for the first five months of the year. The program should output the average high, average low, and the highest and lowest temperatures for the year.

The program must consist of the following functions:

* Function indexHighTemp: This function returns the index of the highest high temperature in the array.

* Function indexLowTemp: This function returns the index of the lowest low temperature in the array.

 

Solution Preview :

Prepared by a verified Expert
C/C++ Programming: Program uses a two-dimensional array
Reference No:- TGS01937311

Now Priced at $20 (50% Discount)

Recommended (99%)

Rated (4.3/5)