/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_toupper.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: whaffman +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/07/05 18:42:12 by whaffman #+# #+# */ /* Updated: 2024/07/08 15:53:24 by whaffman ### ########.fr */ /* */ /* ************************************************************************** */ #include "libft.h" int ft_toupper(int c) { if ('a' <= c && 'z' >= c) return (c - 'a' + 'A'); return (c); }