Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
seconds to minutes, hour and seconds
#include <cstdio> #include <iostream> using namespace std; int main () { int seconds, hours, minutes; cin >> seconds; hours = seconds/3600; cout << seconds << " seconds is equivalent to " << int(hours) << " hours " << seconds%(hours*60) << " minutes " << (seconds%(hours*3600))-((seconds%(hours*60))*60) << " seconds."; }
run
|
edit
|
history
|
help
0
compra de restaurante
EqualityComparer
Pramod
Problem: fb_series
clientdata.cs
z x xc x
CommandForce2
Fórum ➡ Calculate the Sum of Values in List of KeyValuePair<> objects ♦
2 3
Stuff