header

Homework 18

Modify Homework 16 so that the daily highs and lows are stored in an array of records. Each record contains two double values; the low temperature and the high temperature for the day. Modify the value-returning functions to return a record. One function returns a record containing the average low and the average high. Another function returns a record containing the minimum high and the minimum low. The third function returns a record containing the maximum low and the maximum high.