123456789101112131415161718192021 |
- /* ************************************************************************** */
- /* */
- /* ::: :::::::: */
- /* ft_toupper.c :+: :+: :+: */
- /* +:+ +:+ +:+ */
- /* By: phella <phella@student.21-school.ru> +#+ +:+ +#+ */
- /* +#+#+#+#+#+ +#+ */
- /* Created: 2021/10/16 13:56:26 by phella #+# #+# */
- /* Updated: 2021/10/16 14:37:48 by phella ### ########.fr */
- /* */
- /* ************************************************************************** */
- int ft_toupper(int ch)
- {
- if (ch >= 'a' && ch <= 'z')
- {
- ch -= 32;
- }
- return (ch);
- }
|