-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathft_tolower.c
26 lines (24 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
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_tolower.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: yalshish <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/08/25 18:21:16 by yalshish #+# #+# */
/* Updated: 2024/09/04 12:39:50 by yalshish ### ########.fr */
/* */
/* ************************************************************************** */
int ft_tolower(int c)
{
if (c >= 'A' && c <= 'Z')
return (c + 32);
return (c);
}
/*#include <stdio.h>
int main()
{
char c;
c = '9';
printf("%c", ft_tolower(c));
}*/