-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathft_tolower.c
28 lines (26 loc) · 1.04 KB
/
ft_tolower.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/* ************************************************************************** */
/* */
/* :::::::: */
/* tolower.c :+: :+: */
/* +:+ */
/* By: ivan-mel <[email protected]> +#+ */
/* +#+ */
/* Created: 2022/10/04 16:28:14 by ivan-mel #+# #+# */
/* Updated: 2022/10/11 16:12:41 by ivan-mel ######## odam.nl */
/* */
/* ************************************************************************** */
#include <stdio.h>
int ft_tolower(int a)
{
if (a >= 65 && a <= 90)
{
a = a + 32;
}
return (a);
}
/*
int main(void)
{
printf("%c", ft_tolower('A'));
return (0);
}*/