Guest User

Untitled

a guest
Jul 18th, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.21 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. int main()
  4. {
  5.  
  6. int segundos, minutos, horas;
  7. scanf("%d", &segundos);
  8.  
  9. minutos=(segundos/60);
  10.  
  11. horas =segundos/3600;
  12.  
  13. printf ("%d h ,%d m ,%d s\n", horas,minutos,segundos);
  14.  
  15.  
  16. return 0;
  17. }
Add Comment
Please, Sign In to add comment