0
C++ problem
If The user enters a period of time in seconds , the program will print it as hours and minutes and seconds. (ex:3600 seconds will be 01:00:00) (ex:1000 seconds will be 00:16:40)
3 Answers
+ 3
use modulo (%)
If The user enters a period of time in seconds , the program will print it as hours and minutes and seconds. (ex:3600 seconds will be 01:00:00) (ex:1000 seconds will be 00:16:40)