/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_isalpha.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: fgras-ca +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2023/02/01 13:36:34 by fgras-ca #+# #+# */ /* Updated: 2023/02/01 13:58:21 by fgras-ca ### ########.fr */ /* */ /* ************************************************************************** */ #include "libft.h" int ft_isalpha(int c) { if ((c >= 65 && c <= 90) || (c >= 97 && c <= 122)) return (1); else return (0); }