-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathft_isalpha.c
22 lines (20 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
20
21
22
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_isalpha.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: fvieira <fvieira@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/08/15 11:36:29 by fvieira #+# #+# */
/* Updated: 2022/08/22 15:19:16 by fvieira ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
int ft_isalpha(int argument)
{
if ((argument >= 65 && argument <= 90)
|| (argument >= 97 && argument <= 122))
return (1);
else
return (0);
}