1
0
cub3d/libft/is/ft_isalpha.c

21 lines
1020 B
C
Raw Normal View History

2024-09-10 16:27:06 +02:00
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_isalpha.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: madumerg <madumerg@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/10/30 12:35:26 by madumerg #+# #+# */
/* Updated: 2023/11/02 14:58:21 by madumerg ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
int ft_isalpha(int i)
{
if ((i >= 'a' && i <= 'z') || (i >= 'A' && i <= 'Z'))
return (1);
return (0);
}