-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathft_isdigit.c
19 lines (17 loc) · 1.01 KB
/
ft_isdigit.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_isdigit.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: fcil <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/01/21 19:05:54 by fcil #+# #+# */
/* Updated: 2022/02/02 12:26:58 by fcil ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
int ft_isdigit(int c)
{
return (c >= '0' && c <= '9');
}
//verilen c karakterinin bir rakam olup olmadigi kontrol edilir