-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathft_isalpha.c
19 lines (17 loc) · 1.04 KB
/
ft_isalpha.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_isalpha.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: fcil <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/01/21 19:04:54 by fcil #+# #+# */
/* Updated: 2022/02/02 12:26:54 by fcil ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
int ft_isalpha(int c)
{
return ((c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z'));
}
//verilen c karakterinin alfabede olup olmadigi kontrol edilir