Repeat Exercise 2, using an array of Month objects with each Month object having an array of double of size 28, 30, or 31.
Reference Exercise 2.
Declare an array of double of size 365 to store daily temperatures for one year. Using this data structure, write the code to find
• The hottest and coldest days of the year.
• The average temperature of each month.
• The difference between the hottest and coldest days of every month.
• The temperature of any given day. The day is specified by two input values: month (1, . . . , 12) and day (1, . . . , 31). Reject invalid input values (e.g., 13 for month and 32 for day).
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.