/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_isalnum.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: fgras-ca +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2023/02/01 16:21:11 by fgras-ca #+# #+# */ /* Updated: 2023/02/01 16:24:23 by fgras-ca ### ########.fr */ /* */ /* ************************************************************************** */ #include "libft.h" int ft_isalnum(int c) { if ((c >= 65 && c <= 90) || (c >= 97 && c <= 122) || (c >= 48 && c <= 57)) return (1); else return (0); }