You must now write the pseudocode for an alarm clock / timer / stopwatch. The features offered by the device are up to you.
You can have multiple modes / features. They can count down, count up, display the time and even send a message but there must be an explanation of what is happening and why.