-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathft_isalpha.c
20 lines (18 loc) · 1017 Bytes
/
ft_isalpha.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_isalpha.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: sel-mars <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/11/01 09:55:36 by sel-mars #+# #+# */
/* Updated: 2021/11/10 14:17:54 by sel-mars ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
int ft_isalpha(int i)
{
if ((i >= 65 && i <= 90) || (i >= 97 && i <= 122))
return (1);
return (0);
}