tgrekov-libft
HIVE libft Oct 2023
Loading...
Searching...
No Matches
ft_toupper.c
Go to the documentation of this file.
1
/* ************************************************************************** */
2
/* */
3
/* ::: :::::::: */
4
/* ft_toupper.c :+: :+: :+: */
5
/* +:+ +:+ +:+ */
6
/* By: tgrekov <tgrekov@student.hive.fi> +#+ +:+ +#+ */
7
/* +#+#+#+#+#+ +#+ */
8
/* Created: 2023/10/23 13:39:01 by tgrekov #+# #+# */
9
/* Updated: 2023/11/06 15:37:19 by tgrekov ### ########.fr */
10
/* */
11
/* ************************************************************************** */
12
28
int
ft_toupper
(
int
c)
29
{
30
if
(c >=
'a'
&& c <=
'z'
)
31
c -= 32;
32
return
(c);
33
}
ft_toupper
int ft_toupper(int c)
Convert lowercase letter to corresponding uppercase letter.
Definition
ft_toupper.c:28
ft_toupper.c