-
Notifications
You must be signed in to change notification settings - Fork 0
/
ft_isdigit.c
18 lines (18 loc) · 978 Bytes
/
ft_isdigit.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_isdigit.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: belkarto <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/10/05 15:51:43 by belkarto #+# #+# */
/* Updated: 2022/10/05 16:00:27 by belkarto ### ########.fr */
/* */
/* ************************************************************************** */
int ft_isdigit(int c)
{
if (c <= '9' && c >= '0')
return (1);
else
return (0);
}