-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathft_isupper.c
20 lines (18 loc) · 993 Bytes
/
ft_isupper.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_isupper.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: ggane <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2016/04/18 09:57:54 by ggane #+# #+# */
/* Updated: 2016/04/22 09:20:13 by ggane ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
int ft_isupper(int c)
{
if (c >= 'A' && c <= 'Z')
return (1);
return (0);
}