/* ************************************************************************** */
/*                                                                            */
/*                                                        :::      ::::::::   */
/*   ft_strlowcase.c                                    :+:      :+:    :+:   */
/*                                                    +:+ +:+         +:+     */
/*   By: bfleury <bfleury@student.42.fr>            +#+  +:+       +#+        */
/*                                                +#+#+#+#+#+   +#+           */
/*   Created: 2023/07/05 04:07:48 by bfleury           #+#    #+#             */
/*   Updated: 2023/07/18 01:56:34 by bfleury          ###   ########.fr       */
/*                                                                            */
/* ************************************************************************** */

char	*ft_strlowcase(char *str)
{
	int	i;

	i = 0;
	while (str[i])
	{
		if ('A' <= str[i] && str[i] <= 'Z')
			str[i] += 32;
		i++;
	}
	return (str);
}
/*
#include <stdio.h>

int	main(void)
{
	char a[] = "Test";
	char b[] = "TEST";
	char c[] = "TEST42";
	printf("%s\n",ft_strlowcase(a));
	printf("%s\n",ft_strlowcase(b));
	printf("%s\n",ft_strlowcase(c));
}*/
