42_C_PISCINE/C/c00/ex01/ft_print_alphabet.c
Camille Chauvet 29ed24d567 init
2023-05-17 16:45:25 +00:00

26 lines
1016 B
C

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_print_alphabet.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: cchauvet <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/07/14 13:49:41 by cchauvet #+# #+# */
/* Updated: 2022/07/14 14:42:13 by cchauvet ### ########.fr */
/* */
/* ************************************************************************** */
#include <unistd.h>
void ft_print_alphabet(void)
{
char a;
a = 'a';
while ('z' >= a)
{
write(1, &a, 1);
a++;
}
}