subject

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: 1. Function getData: This function reads and stores data in the two- dimensional array. 2. Function averageHigh: This function calculates and returns the average high temperature for the year. 3. Function averageLow: This function calculates and returns the aver- age low temperature for the year. 4. Function indexHighTemp: This function returns the index of the highest high temperature in the array. 5. Function indexLowTemp: This function returns the index of the low- est low temperature in the array. These functions must all have the appropriate parameters.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 23:30
Which of the following is not a symptom of chronic fatigue syndrome
Answers: 2
question
Computers and Technology, 23.06.2019 00:00
What engine component is shown in the above figure?
Answers: 1
question
Computers and Technology, 23.06.2019 04:20
Which network media uses different regions of the electromagnetic spectrum to transmit signals through air? uses different regions of the electromagnetic spectrum to transmit signals through air.
Answers: 2
question
Computers and Technology, 23.06.2019 07:00
You need a quick answer from a coworker. the most effective way to reach your coworker is through a. cloud server b. instant message c. teleconference d. telepresence
Answers: 1
You know the right answer?
Write a program that uses a two-dimensional array to store the highest and lowest temperatures for e...
Questions
question
Mathematics, 05.08.2021 20:30
question
Mathematics, 05.08.2021 20:30
question
Physics, 05.08.2021 20:30
question
Mathematics, 05.08.2021 20:30
question
Mathematics, 05.08.2021 20:30
question
Mathematics, 05.08.2021 20:30
Questions on the website: 13722367