• Source
    1. #include <stdio.h>
    2. #include <stdlib.h>
    3.  
    4. int main()
    5.  
    6. {
    7. int ore,minuti,secondi,mintot;
    8.  
    9. secondi=15678%60;
    10. mintot=15678/60;
    11. minuti=mintot%60;
    12. ore=mintot/60;
    13. printf("15678 secondi sono %d, ore , %d minuti, %d secondi \n", ore,minuti,secondi);
    14. return 0;
    15. }
    16.