URI Online Judge Solution 1019 - Solution in C






Solution in C

#include<stdio.h>
int main()
{
int n,h,m,s;
scanf("%d",&n);
h=n/3600;
m=n%3600/60;
s=n%60;
printf("%d:%d:%d\n",h,m,s);
return 0;
} 





~~~~~~Happy Coding~~~~~~

No comments

Powered by Blogger.