first commit
This commit is contained in:
14
ended/C00/ex01/ft_print_alphabet.c
Normal file
14
ended/C00/ex01/ft_print_alphabet.c
Normal file
@ -0,0 +1,14 @@
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
|
||||
void ft_print_alphabet(void)
|
||||
{
|
||||
char ch;
|
||||
|
||||
ch = 'a';
|
||||
while (ch <= 'z')
|
||||
{
|
||||
write(1, &ch, 1);
|
||||
ch++;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user