-
Notifications
You must be signed in to change notification settings - Fork 0
/
ft_isalpha.c
16 lines (15 loc) · 980 Bytes
/
ft_isalpha.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_isalpha.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: wleite <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/07/27 19:23:33 by wleite #+# #+# */
/* Updated: 2021/07/27 19:23:33 by wleite ### ########.fr */
/* */
/* ************************************************************************** */
int ft_isalpha(int c)
{
return ((c >= 'a' && c <= 'z' ) || (c >= 'A' && c <= 'Z' ));
}