Menu

Ohio Java Write Program Uses Two Dimensional Array Store Highest Lowest Temperatures Month Q43878189

Ohio JAVA

You will write a program that uses a two–dimensional array tostore the highest and lowest temperatures for each month of theyear. The program should output the average high, average low, andhighest and lowest temperatures of the year. Your program mustconsist of the following methods (with appropriate parameters):Method getData: This method reads and store the data in thetwo-dimensional array. Method averageHigh: This method calculateand returns the average high temperature of the year. MethodaverageLow: This method calculate and returns the average lowtemperature of the year. Method indexHighTemp: This method returnsthe index of the highest temperature in the array. MethodindexLowTemp: This method returns the index of the lowesttemperature in the array. And, it should include the following databelow to test your program. Your program MUST read in the databelow as input Temperatures.High Data Low Data Write code for each methodsRead in the Input data (user must not be required to enter thedata, program must read in data)

High Data Low Data Show transcribed image text High Data Low Data

Expert Answer


Answer to Ohio JAVA You will write a program that uses a two–dimensional array to store the highest and lowest temperatures for …

OR