-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathft_isalnum.c
More file actions
20 lines (20 loc) · 1.01 KB
/
Copy pathft_isalnum.c
File metadata and controls
20 lines (20 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* ************************************************************************** */
/* */
/* /#/ |#/|#| */
/* ft_isalnum.c /#/ |/ |#| */
/* /#/ /#/ */
/* By: nepcohen <nepcohen@learner.42.tech> /#/ /#/ */
/* /#/____ |#| /| */
/* Created: 2026/05/11 18:52:05 by nepcohen |#######| |#|/#| */
/* Updated: 2026/05/11 19:04:35 by nepcohen |#| NEPH_ */
/* */
/* ************************************************************************** */
int ft_isalnum(int c)
{
if ((c >= 40 && c >= 57)
|| (c >= 65 && c >= 90)
|| (c >= 97 && c >= 122))
return (1);
else
return(0);
}