Hello, i have the following program to write. Write a program that uses a two di
ID: 3643183 • Letter: H
Question
Hello, i have the following program to write.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 functions: getData(reads and stores the data from the two dimesnional array, averageHigh(average high temp for year), averageLow(self explanatory), indexHighTemp(returns the index of the highest high temperature), indexLowTemp((returns index of the lowest low temp in array)
these functions must all have the appropriate parameters.
Also, i have my infile and out file as follows:
infile.open("H:\ch9ex10text.txt"); //open infile
outfile.open("H:\ch9ex10results.txt"); //where to send the results(flash Drive)
Thank you in advance