# 1 declare and instantiate a two dimensional int array called temperatures which cont 5346512

1. Declare and instantiate a two-dimensional int array called temperatures which contains four rows (corresponding to weeks) and seven columns (corresponding to days) with the initial values 73, 71, 68, 69, 75, 77, and 78 in the first row, 76, 73, 72, 72, 75, 79, and 76 in the second row, 79, 82, 84, 84, 81, 78, and 78 in the third row, and 75, 72, 68, 69, 65, 63, and 65 in the fourth row. 2. Write nested loops that calculate the following: The average temperature for each week. The average temperature for each day. The high and low temperature for each week. The high and low temperature for each day. The average temperature of all the temperatures. 3. (Optional) Display the temperatures in table format. The average for week 1 is 73.0. The average for week 2 is 74.71428571428571. The average for week 3 is 80.85714285714286. The average for week 4 is 68.14285714285714. The average for day 1 is 75.75. The average for day 2 is 74.5. The average for day 3 is 73.0. The average for day 4 is 73.5. The average for day 5 is 74.0. The average for day 6 is 74.25. The average for day 7 is 74.25. The highest temperature of week 1 is 78 The lowest temperature of week 1 is 68 The highest temperature of week 2 is 79 The lowest temperature of week 2 is 72 The highest temperature of week 3 is 84 The lowest temperature of week 3 is 78 The highest temperature of week 4 is 75 The lowest temperature of week 4 is 63 The highest temperature of day 1 is 79 The lowest temperature of day 1 is 73 The highest temperature of day 2 is 82 The lowest temperature of day 2 is 71 The highest temperature of day 3 is 84 The lowest temperature of day 3 is 68 The highest temperature of day 4 is 84 The lowest temperature of day 4 is 69 The highest temperature of day 5 is 81 The lowest temperature of day 5 is 65 The highest temperature of day 6 is 79 The lowest temperature of day 6 is 63 The highest temperature of day 7 is 78 The lowest temperature of day 7 is 65 The average of all is 74.17857142857143. Week 1: 73 71 68 69 75 77 78 Week 2: 76 73 72 72 75 79 76 Week 3: 79 82 84 84 81 78 78 Week 4: 75 72 68 69 65 63 65