-
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) · 968 Bytes
/
ft_isdigit.c
File metadata and controls
18 lines (17 loc) · 968 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* ************************************************************************** */
/* */
/* :::::::: */
/* ft_isdigit.c :+: :+: */
/* +:+ */
/* By: mgraaf <mgraaf@student.codam.nl> +#+ */
/* +#+ */
/* Created: 2021/12/16 14:21:44 by mgraaf #+# #+# */
/* Updated: 2021/12/16 14:21:47 by mgraaf ######## odam.nl */
/* */
/* ************************************************************************** */
int ft_isdigit(int c)
{
if (c > 47 && c < 58)
return (1);
return (0);
}