-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathft_max.c
More file actions
22 lines (19 loc) · 1.03 KB
/
ft_max.c
File metadata and controls
22 lines (19 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_max.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: lsauvage <lsauvage@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2017/11/29 12:35:26 by lsauvage #+# #+# */
/* Updated: 2017/11/29 12:37:43 by lsauvage ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
/*
** DESCRIPTION : retourne la valeur la plus grande des 2 entiers en parametre.
*/
int ft_max(int a, int b)
{
return (a > b ? a : b);
}