first commit
This commit is contained in:
7
ended/C01/ex03/ft_div_mod.c
Normal file
7
ended/C01/ex03/ft_div_mod.c
Normal file
@ -0,0 +1,7 @@
|
||||
#include <stdio.h>
|
||||
|
||||
void ft_div_mod(int a, int b, int *div, int *mod)
|
||||
{
|
||||
*div = a / b;
|
||||
*mod = a % b;
|
||||
}
|
Reference in New Issue
Block a user