Topic 5.1 - Abstract data structures - Answers

1. Monthly temperature data is stored in a 2D array called MTEMPS as shown below. Each row is a month and each column is a week. The cell holds the average temperature for that month. a) What value is stored at ?14b) What does the following calculate?The average of the second months temperatures or (12+11+12+13)/4c) What is output by the following code?Highest temperature for each month or 13 13 16 15 19 24 27 28 23...

To access the contents of this site, you must subscribe.