+ 1
Algorithm Design!
Please help me in making an algorithm to print time given in sec to hr:min:sec format. thanks in advance!
12 Answers
+ 3
My pleasure @Sam
Let me know if you have any other problem đ
+ 3
@Sam Download C++ ebooks from here http://index-of.es/
+ 3
5/2 gives quotient i.e. 2
5%2 gives remainder i.e. 1
+ 1
thanks a lot bro!
#mademyday!
+ 1
Is this all the best way to Learn c++ any other sources recommended?
@kartikey sahu
+ 1
hey!
in the prgm,
hour =given sec/3600
in this case on printing hour won't it have decimal values?
eg given time =8888sec
8888/3600=2.46
?
0
Great!
Thanks a Lot mate!
hope to be in touch in this journey!
0
?
0
Okey! Just got confused betwn them!
0
Respect to your Courtesy!
0
does the "" % "" find the reminder until decimal point ?
ex 8888%3600 =2.4