Seconds to timestamp, if-else condition, MM:SS and HH:MM:SS
The exercise is to convert input seconds and have output in timestamp. If seconds is 61, the output should be "1:01" and if the input is 3600, the output should be ‘1:00:00’. I wrote the code below but it works when I write in the input up to seconds=3599. Above that, the output turns out… Read More Seconds to timestamp, if-else condition, MM:SS and HH:MM:SS