Sequential Exercise 4.

Develop a program that will take a time in seconds and output it in hours, minutes and seconds.

Algorithm

Seconds
    read seconds
    minutes:= seconds/60
    seconds:= remainder of seconds/60
    hours:= minutes/60
    minutes:=remainder of minutes/60
    write hours,minutes,seconds
End.


PROGRAM: seconds.cpp