-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathft_isdigit.c
More file actions
19 lines (18 loc) · 979 Bytes
/
ft_isdigit.c
File metadata and controls
19 lines (18 loc) · 979 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_isdigit.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: ulyildiz <ulyildiz@student.42kocaeli.co +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/10/10 16:26:30 by ulyildiz #+# #+# */
/* Updated: 2023/10/20 06:58:48 by ulyildiz ### ########.fr */
/* */
/* ************************************************************************** */
int ft_isdigit(int c)
{
if ('0' <= c && c <= '9')
return (1);
else
return (0);
}