/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_toupper.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: hexplor +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2023/11/10 10:05:42 by hexplor #+# #+# */ /* Updated: 2023/11/10 10:09:20 by hexplor ### ########.fr */ /* */ /* ************************************************************************** */ #include "libft.h" int ft_toupper(int c) { if (c >= 97 && c <= 122) return (c - 32); return (c); }