-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathft_toupper.c
executable file
·18 lines (17 loc) · 975 Bytes
/
ft_toupper.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_toupper.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: mberger <mberger@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2014/11/03 20:31:06 by mberger #+# #+# */
/* Updated: 2014/11/05 12:11:01 by mberger ### ########.fr */
/* */
/* ************************************************************************** */
int ft_toupper(int c)
{
if ((c >= 97) && (c <= 122))
c = c - 32;
return (c);
}