move here
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* ft_ultimate_div_mod.c :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: lfirmin <[email protected]> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/02/10 21:09:43 by lfirmin #+# #+# */
|
||||
/* Updated: 2024/02/10 21:22:15 by lfirmin ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
void ft_ultimate_div_mod(int *a, int *b)
|
||||
{
|
||||
int temp;
|
||||
int temp1;
|
||||
|
||||
temp = *a / *b;
|
||||
temp1 = *a % *b;
|
||||
*a = temp;
|
||||
*b = temp1;
|
||||
}
|
||||
Reference in New Issue
Block a user