Skip to content
C

Seconds to H M S

Mediumjava

Read a whole number of seconds and break it into hours, minutes and seconds using / and %.

Input: one non-negative integer — a number of seconds.

Output: one line: <h>h <m>m <s>s

Input (stdin)

Output

Run your code to see output here...