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