-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathft_isalpha.c
More file actions
18 lines (17 loc) · 991 Bytes
/
Copy pathft_isalpha.c
File metadata and controls
18 lines (17 loc) · 991 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_isalpha.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: mnishimo <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2018/11/21 19:33:54 by mnishimo #+# #+# */
/* Updated: 2019/01/12 22:19:52 by mnishimo ### ########.fr */
/* */
/* ************************************************************************** */
int ft_isalpha(int c)
{
if (c < 65 || (c > 90 && c < 97) || c > 122)
return (0);
return (1);
}