libft
Loading...
Searching...
No Matches
ft_isalpha.c
Go to the documentation of this file.
1/* ************************************************************************** */
2/* */
3/* ::: :::::::: */
4/* ft_isalpha.c :+: :+: :+: */
5/* +:+ +:+ +:+ */
6/* By: tspoof <tspoof@student.hive.fi> +#+ +:+ +#+ */
7/* +#+#+#+#+#+ +#+ */
8/* Created: 2022/10/25 13:37:00 by tspoof #+# #+# */
9/* Updated: 2022/10/25 14:09:10 by tspoof ### ########.fr */
10/* */
11/* ************************************************************************** */
12
13int ft_isalpha(int c)
14{
15 if ((c >= 'A' && c <= 'Z') || (c >= 'a' && c <= 'z'))
16 return (1);
17 return (0);
18}
int ft_isalpha(int c)
Check if char is alphabet.
Definition ft_isalpha.c:13