https://parzibyte.me/blog/2018/09/26/funcion-div-en-c-obtener-residuo-cociente/
FunciĆ³n div en C: dividir y obtener residuo y cociente