-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathft_isdigit.c
26 lines (22 loc) · 1.03 KB
/
ft_isdigit.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_isdigit.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: tcakir-y <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/10/07 14:46:41 by tcakir-y #+# #+# */
/* Updated: 2024/10/15 10:28:44 by tcakir-y ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
int ft_isdigit(int c)
{
return (c >= '0' && c <= '9');
}
// int main(void)
// {
// int c;
// c = 6;
// printf("%d", ft_isdigit(c));
// }