-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathft_isalpha.c
More file actions
20 lines (19 loc) · 1010 Bytes
/
Copy pathft_isalpha.c
File metadata and controls
20 lines (19 loc) · 1010 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* isalpha.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: jihyjeon <jihyjeon@student.42seoul.> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/10/11 13:50:23 by jihyjeon #+# #+# */
/* Updated: 2023/10/11 13:50:26 by jihyjeon ### ########.fr */
/* */
/* ************************************************************************** */
int ft_isalpha(int c)
{
if (c >= 65 && c <= 90)
return (c);
if (c >= 97 && c <= 122)
return (c);
return (0);
}