hi! i have an assignment on printing out values of some temperature thing and i have a document full of data.
The data contains sensor readings from 7:00 AM to 8:59 PM at intervals of 15 mins. There are 30 days of readings per month and three months of data (i.e. April, May and June) are recorded.
basically i got everything figured out but the values calculated are wrong when i compare them to my manual calculations and i suspect that the error lies in the array storing part. oddly enough, the first few mean calculated for each month seems to be correct then goes downhill. to try calculating on your own you just take the average of the first 4 values and that is 1 hour worth of readings then the average for the next 4 values for the 2nd hour and so on.
ill attach the raw data document and my original code in a bit