This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Need to know what code to use to take an average

Hello, I am trying to find out how to write a program which will take the average over the day. I dont want it to just take the average over the last 24 hours, I know how to do that, rather I want to find the average from 12 midnight to 12 midnight the next day, and to have this average displayed throughout the day and changing as the day progresses. This is to be written in C code

0