Write a procedure
that, given a quantity of seconds n, computes how many hours h, minutes m and seconds s it represents. That is, we must have s + 60m + 3600h = n, with 0≤ s <60 and 0≤ m <60.
Precondition
n is a natural number.
Observation You only need to submit the required procedure; your main program will be ignored.
Input/Output