-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathft_isdigit.c
More file actions
18 lines (17 loc) · 970 Bytes
/
ft_isdigit.c
File metadata and controls
18 lines (17 loc) · 970 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_isdigit.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: gaducurt <gaducurt@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/11/09 14:57:41 by gaducurt #+# #+# */
/* Updated: 2024/11/11 17:11:20 by gaducurt ### ########.fr */
/* */
/* ************************************************************************** */
int ft_isdigit(int c)
{
if (c >= 48 && c <= 57)
return (1);
return (0);
}