-
Notifications
You must be signed in to change notification settings - Fork 0
/
ft_isalpha.c
21 lines (19 loc) · 1019 Bytes
/
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: lubaujar <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2014/11/03 18:24:46 by lubaujar #+# #+# */
/* Updated: 2014/11/08 14:07:38 by lubaujar ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
int ft_isalpha(int c)
{
if ((c >= 97 && c <= 122)
|| (c >= 65 && c <= 90))
return (1);
return (0);
}