-
Notifications
You must be signed in to change notification settings - Fork 0
/
ft_isalpha.c
executable file
·16 lines (15 loc) · 986 Bytes
/
ft_isalpha.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_isalpha.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: tseguier <tseguier@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2013/11/22 05:55:19 by tseguier #+# #+# */
/* Updated: 2014/03/27 18:38:06 by jcoignet ### ########.fr */
/* */
/* ************************************************************************** */
int ft_isalpha(int c)
{
return (((c <= 122 && c >= 97) || (c >= 65 && c <= 90)) ? 1 : 0);
}