21 lines
983 B
C
21 lines
983 B
C
|
/* ************************************************************************** */
|
||
|
/* */
|
||
|
/* :::::::: */
|
||
|
/* ft_max.c :+: :+: :+: */
|
||
|
/* +:+ */
|
||
|
/* By: djonker <marvin@codam.nl> +#+ */
|
||
|
/* +#+ */
|
||
|
/* Created: 2021/02/08 04:26:11 by djonker #+# #+# */
|
||
|
/* Updated: 2023/02/07 00:40:36 by houtworm ### ########.fr */
|
||
|
/* */
|
||
|
/* ************************************************************************** */
|
||
|
|
||
|
#include "../libft.h"
|
||
|
|
||
|
int ft_max(int a, int b)
|
||
|
{
|
||
|
if (a > b)
|
||
|
return (a);
|
||
|
return (b);
|
||
|
}
|