Surya was used to wear a smartwatch when he was in the Treadmill and during Cycling.
#include <stdio.h>
int main()
{int sec,h,m,s;
scanf("%d",&sec);
h=sec/3600;
sec=sec-(h*3600);
m=sec/60;
s=sec-(m*60);
printf("%dH:%dM:%dS",h,m,s);
return 0;}
Surya was used to wear a smartwatch when he was in the Treadmill and during Cycling.
#include <stdio.h>
int main()
{int sec,h,m,s;
scanf("%d",&sec);
h=sec/3600;
sec=sec-(h*3600);
m=sec/60;
s=sec-(m*60);
printf("%dH:%dM:%dS",h,m,s);
return 0;}
0 Comments
if you have any doubt, plz let me know