-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathft_isalnum.c
More file actions
19 lines (17 loc) · 1 KB
/
ft_isalnum.c
File metadata and controls
19 lines (17 loc) · 1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_isalnum.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: eagoumi <eagoumi@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/10/09 16:15:39 by eagoumi #+# #+# */
/* Updated: 2022/11/08 19:45:35 by eagoumi ### ########.fr */
/* */
/* ************************************************************************** */
#include "./libft.h"
int ft_isalnum(int x)
{
return ((x >= 97 && x <= 122)
|| (x >= 65 && x <= 90) || (x >= '0' && x <= '9'));
}