1
0
This repository has been archived on 2024-10-25. You can view files and clone it, but cannot push or open issues or pull requests.
42-1st-piscine/ended/C01/ex03/ft_div_mod.c
2023-08-06 20:12:38 +02:00

8 lines
104 B
C

#include <stdio.h>
void ft_div_mod(int a, int b, int *div, int *mod)
{
*div = a / b;
*mod = a % b;
}