-
Notifications
You must be signed in to change notification settings - Fork 0
/
ft_tolower.c
30 lines (27 loc) · 1.11 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
29
30
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_tolower.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: yeparra- <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/09/26 11:59:41 by yeparra- #+# #+# */
/* Updated: 2023/10/10 20:51:18 by yeparra- ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
int ft_tolower(int c)
{
if (c >= 65 && c <= 90)
return (c + 32);
else
return (c);
}
/*
int main()
{
char letter = 'J';
int result = ft_tolower(letter);
printf("Conversión a Minúscula %c\n", result);
return (0);
}*/