-
Notifications
You must be signed in to change notification settings - Fork 1
/
ft_isalpha.c
executable file
·24 lines (22 loc) · 1.01 KB
/
ft_isalpha.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_isalpha.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: rel-fila <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/10/06 10:19:40 by rel-fila #+# #+# */
/* Updated: 2022/10/06 12:03:48 by rel-fila ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
int ft_isalpha(int c)
{
if (c >= 65 && c <= 122)
{
if (c >= 91 && c <= 96)
return (0);
return (1);
}
return (0);
}