-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathft_isalpha.c
21 lines (19 loc) · 1008 Bytes
/
ft_isalpha.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_isalpha.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: potero-d <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/09/14 08:51:37 by potero-d #+# #+# */
/* Updated: 2021/09/14 10:24:07 by potero-d ### ########.fr */
/* */
/* ************************************************************************** */
int ft_isalpha(int c)
{
int r;
r = 1;
if ((c < 'a' || c > 'z') && (c < 'A' || c > 'Z'))
r = 0;
return (r);
}