2021-01-10 20:26:19 +03:00

21 lines
1014 B
C

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_isalpha.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: mdenys <mdenys@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/10/29 14:03:52 by mdenys #+# #+# */
/* Updated: 2020/10/30 11:46:57 by mdenys ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
int ft_isalpha(int c)
{
if ((c > 64 && c < 91) || (c > 96 && c < 123))
return (1);
return (0);
}