Write a program that adds one second to a clock time, given its hours, minutes and seconds.
Input consists of three natural numbers , and that represent a clock time, that is, such that , and .
Print the new clock time defined by
,
and
plus one second in the format “HH:MM:SS”.
Author: Unknown
Translator: Carlos Molina
Generation: 2026-01-25T10:20:56.188Z
© Jutge.org, 2006–2026.
https://jutge.org