Using the definition
implement the following functions and procedures:
the function midnight() returns a clock initialized to midnight (00:00:00). The procedure increase() increases the clock a second. The procedure print() prints the time of the clock in the format HH:MM:SS in a line.
Observation You only need to submit the required classes; your main program will be ignored. Strictly obey the type definitions of the statement.