Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main()
- {
- int segundos, minutos, horas;
- scanf("%d", &segundos);
- minutos=(segundos/60);
- horas =segundos/3600;
- printf ("%d h ,%d m ,%d s\n", horas,minutos,segundos);
- return 0;
- }
Add Comment
Please, Sign In to add comment