Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- #include<math.h>
- int main()
- {
- int second,hh,mm,ss;
- printf("Enter Second:\n");
- scanf("%d",&second);
- second=second;
- mm=second/60;
- hh=mm/60;
- printf("Total Time = %d:%d:%d",hh,mm,ss);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement