/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_toupper.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: mdenys +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/10/28 15:04:43 by mdenys #+# #+# */ /* Updated: 2020/10/29 20:02:26 by mdenys ### ########.fr */ /* */ /* ************************************************************************** */ #include "libft.h" int ft_toupper(int a) { if (a >= 97 && a <= 122) { return (a - 32); } else { return (a); } return (0); }