/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_isalpha.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: joelecle +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/02/14 17:06:39 by joelecle #+# #+# */ /* Updated: 2020/02/14 17:06:39 by joelecle ### ########lyon.fr */ /* */ /* ************************************************************************** */ static int ft_isupper(int c) { if (c >= 65 && c <= 90) return (1); return (0); } static int ft_islower(int c) { if (c >= 97 && c <= 122) return (1); return (0); } int ft_isalpha(int c) { if (ft_isupper(c) || ft_islower(c)) return (1); return (0); }