-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathft_isalpha.c
21 lines (19 loc) · 1.05 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
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_isalpha.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: alyildiz <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/05/06 06:53:23 by alyildiz #+# #+# */
/* Updated: 2023/05/06 06:55:16 by alyildiz ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
int ft_isalpha(int chr)
{
if ((chr >= 0b1100001 && chr <= 0b1111010)
|| (chr >= 0b1000001 && chr <= 0b1011010))
return (1);
return (0);
}