2021-01-10 20:26:19 +03:00

27 lines
1.0 KiB
C

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_tolower.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: mdenys <mdenys@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/10/28 14:40:51 by mdenys #+# #+# */
/* Updated: 2020/10/29 20:01:38 by mdenys ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
int ft_tolower(int a)
{
if (a >= 65 && a <= 90)
{
return (a + 32);
}
else
{
return (a);
}
return (0);
}