+ 2

Challenge: Converting time.

Variant #1 Write a code which will take from input hours, minutes and seconds in HH MM SS format and then show in output this time converted to seconds. Example: Input: 00 10 35 Output: 635 seconds Variant #2 Write a code which will take from input seconds and then show in output these seconds in HH MM SS format. Example: Input: 635 Output: 00 10 35 Good Luck!

7th Aug 2017, 7:56 PM
Adam Lesiak
Adam Lesiak - avatar
2 Respostas
+ 6
That's prolly not what you mean exactly, but... :) https://code.sololearn.com/csxwL3NpzV85/?ref=app
7th Aug 2017, 8:21 PM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
9th Aug 2017, 10:36 AM
Garikai
Garikai - avatar