Write a C program that determines the level of body temperature recorded within two months July and August. The program accepts the daily monitored temperature and determines its level (high, low or normal). The table below shows the levels of temperature.
Temperature
level
36 below Low
37 Normal
38 above High
Using this information, construct 3-dimensional array, in which the first column is used for the days of the month, the next two columns for the monitored temperature labeled 7 and 8, and the last column for the Level of temperature. The program’s output should be a display of the data in the completed array. Then allow the user to request the following:
• Any day’s high and low temperatures
• Average high and low temperatures for a given month
• Month and day with the highest temperature
• Month and day with the lowest temperature
Temperature
level
36 below Low
37 Normal
38 above High
Using this information, construct 3-dimensional array, in which the first column is used for the days of the month, the next two columns for the monitored temperature labeled 7 and 8, and the last column for the Level of temperature. The program’s output should be a display of the data in the completed array. Then allow the user to request the following:
• Any day’s high and low temperatures
• Average high and low temperatures for a given month
• Month and day with the highest temperature
• Month and day with the lowest temperature