-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathft_isdigit.c
More file actions
20 lines (18 loc) · 996 Bytes
/
ft_isdigit.c
File metadata and controls
20 lines (18 loc) · 996 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_isdigit.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: ychihab <ychihab@student.1337.ma> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/09/29 18:12:50 by ychihab #+# #+# */
/* Updated: 2022/10/24 08:20:53 by ychihab ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
int ft_isdigit(int arg)
{
if (arg <= 57 && arg >= 48)
return (1);
return (0);
}