-
Notifications
You must be signed in to change notification settings - Fork 0
/
ft_print_reverse_alphabet.c
25 lines (22 loc) · 1.02 KB
/
ft_print_reverse_alphabet.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_print_reverse_alphabet.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: flo-dolc <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/09/20 17:14:49 by flo-dolc #+# #+# */
/* Updated: 2023/09/23 19:11:34 by flo-dolc ### ########.fr */
/* */
/* ************************************************************************** */
#include <unistd.h>
void ft_print_reverse_alphabet(void)
{
char letter;
letter = 'z';
while (letter >= 'a')
{
write(1, &letter, 1);
letter--;
}
}