-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathft_isalpha.c
More file actions
19 lines (18 loc) · 1.01 KB
/
ft_isalpha.c
File metadata and controls
19 lines (18 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* ************************************************************************** */
/* */
/* :::::::: */
/* ft_isalpha.c :+: :+: */
/* +:+ */
/* By: ksmorozo <ksmorozo@student.codam.nl> +#+ */
/* +#+ */
/* Created: 2020/11/19 10:25:31 by ksmorozo #+# #+# */
/* Updated: 2021/07/07 12:03:47 by ksmorozo ######## odam.nl */
/* */
/* ************************************************************************** */
int ft_isalpha(int argument)
{
if ((argument >= 'a' && argument <= 'z')
|| (argument >= 'A' && argument <= 'Z'))
return (1);
return (0);
}