The daily low temperatures were:
35,41,51,44,33,33,32,34,33,27,21,25,34,40,42,28,
20,16,21,21,28,23,20,24,33,37,40,30,16,19,29
1. Create a multidimensional array to hold the data and a calculation of the daily average. eg:
| HI |
47 |
56 |
66 |
52 |
45 |
38 |
39 |
44 |
53 |
46 |
29 |
… |
| LO |
35 |
41 |
51 |
44 |
33 |
33 |
32 |
34 |
33 |
27 |
21 |
… |
| AV | …. |
2. What’s one of the problems you will face?
3. Display the daily averages.
4. Convert the average temperatures to Celsius and store them in another array.
5. Display the daily averages Celsius temperatures.
6. Overload pickday( ) to accept an argument ‘C’ or ‘F’ to indicate the temperature should be displayed in.