Question: Please write a C++ program by Visual Studio. Instructions Instructions Write a program that uses a two-dimensional array to store the highest and lowest temperatures
Please write a C++ program by Visual Studio.

Instructions Instructions Write a program that uses a two-dimensional array to store the highest and lowest temperatures for each month of the year. The program should output the average high, average low, and the highest and lowest temperatures for the year. Your program must consist of the following unctions: Function getdata: This function reads and stores data in the two- dimensional arrav. Function averageHigh: This function calculates and returns the average high temperature for the year. Function averageLow:This function calculates and returns the average temperature for the Function indexHighTemp: This function returns the index of the highest high temperature in the array. ow year. Function indexLowTenp: This function returns the index of the lowest in the array. These functions must all have the appropriate parameters
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
