-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathft_toupper.c
16 lines (15 loc) · 962 Bytes
/
ft_toupper.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_toupper.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: gfoote <gfoote@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/04/03 22:07:16 by gfoote #+# #+# */
/* Updated: 2019/04/10 12:18:21 by gfoote ### ########.fr */
/* */
/* ************************************************************************** */
int ft_toupper(int c)
{
return ((c > 96 && c < 123) ? c - 32 : c);
}