22 lines
1.0 KiB
C
22 lines
1.0 KiB
C
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* ft_isalpha.c :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: nalebrun <nalebrun@student.s19.be> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2024/10/09 14:23:31 by nalebrun #+# #+# */
|
|
/* Updated: 2024/11/25 16:14:36 by nalebrun ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#include "../../libft.h"
|
|
|
|
int ft_isalpha(int a)
|
|
{
|
|
if ((a >= 65 && a <= 90) || (a >= 97 && a <= 122))
|
|
return (1);
|
|
else
|
|
return (0);
|
|
}
|