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)

1st Oct 2017, 2:24 PM
Mohamed Magdy
Mohamed Magdy - avatar
3 Answers
1st Oct 2017, 2:30 PM
Kartikey Sahu
Kartikey Sahu - avatar
+ 3
use modulo (%)
1st Oct 2017, 2:28 PM
Dapper Mink
Dapper Mink - avatar