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: function getdata: this function reads and stores data in the two-dimensional array. function averagehigh: this function calculates and returns the average high temperature for the year. function averagelow: this function calculates and returns the average low temperature for the year. 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. these functions must all have the appropriate parameters.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 19:40
Write the quartstogallons java class that declares a named constant to hold the number of quarts in a gallon (4). also declare a variable to represent the number of quarts needed for a painting job, and assign an appropriate value—for example, 18. compute and display the number of gallons and quarts needed for the job. display explanatory text with the values, for example:
Answers: 2
question
Computers and Technology, 22.06.2019 19:30
Avariable definition defines the name of a variable that will be used in a program, as well as
Answers: 3
question
Computers and Technology, 22.06.2019 22:00
Perform the following tasks: a. create a class named testclass that holds a single private integer field and a public constructor. the only statement in the constructor is one that displays the message “constructing”. write a main()function that instantiates one object of the testclass. save the file as testclass.cpp in the chapter 08 folder. run the program and observe the results. b. write another main()function that instantiates an array of 10 testclass objects. save the file as test class array.c . run this program and observe the results.
Answers: 1
question
Computers and Technology, 23.06.2019 07:30
What part of the interface displays the external references contained in a selected cell? the status bar the review tab the scroll bar the formula bar
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
History, 24.11.2020 02:00
question
Mathematics, 24.11.2020 02:00
question
Arts, 24.11.2020 02:00
question
History, 24.11.2020 02:00
Questions on the website: 13722361