#include <unistd.h>

int	ft_str_is_lowercase(char *str)
{
	while (*str != '\0')
	{
		if (*str >= 97 && *str <= 122)
			str++;
		else
			return (0);
	}
	return (1);
}

int	main(void)
{
	char	str[] = "";
	
	if (ft_str_is_lowercase(str))
		write(1, "1", 1);
	else
		write(1, "0", 1);
	return (0);
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: