I've got to write a program in c that
monitor the usage of a laboratory at your university
i need to take the following into consideration:
the 1 st and 2nd part is done however
- Initialisation: At Power Up if there are some students inside the lab, the software should allow you to set this number as initial condition.
- If a student crosses one sensor BUT not the other THEN the count does not change and an error code is generated.
- You should allow for the lab supervisor to store MAXIMUM, MINIMUM and TOTAL number of students inside the laboratory for readings taken during one full day. As there are a number of lab sessions during any one day, your system should record each separate session.
My only problem and the one holding me up currently is the 3rd part is how to record each seperate session.
Im not asking for someone to give me the code ready but some hints on how to do it will be perfect thank you.