-
Notifications
You must be signed in to change notification settings - Fork 0
/
ft_min.c
20 lines (18 loc) · 980 Bytes
/
ft_min.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_min.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: aguemy <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2017/02/27 18:12:30 by aguemy #+# #+# */
/* Updated: 2017/02/27 18:13:05 by aguemy ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
int ft_min(int a, int b)
{
if (b < a)
return (b);
return (a);
}