-
Notifications
You must be signed in to change notification settings - Fork 0
/
ft_min.c
21 lines (19 loc) · 987 Bytes
/
ft_min.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_min.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: mriant <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/03/03 11:01:28 by mriant #+# #+# */
/* Updated: 2022/03/03 11:04:45 by mriant ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
int ft_min(int a, int b)
{
if (a < b)
return (a);
else
return (b);
}