Input and store the temperature recorded for a month. you must store the temperature in two dimensional arrays, one for the midday temperature and one for the midnight temperature.
All the temperature must be validated on entry and any invalid temperature rejected. you must decide your own validation rules. you may assume that there are 30 days in a month