34 lines
1.1 KiB
C
34 lines
1.1 KiB
C
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* ft_print_reverse_alphabet.c :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: tischmid <marvin@42.fr> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2023/03/15 21:50:37 by tischmid #+# #+# */
|
|
/* Updated: 2023/03/16 05:00:01 by tischmid ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#include <unistd.h>
|
|
|
|
void ft_print_reverse_alphabet(void)
|
|
{
|
|
int i;
|
|
|
|
i = 122;
|
|
while (i > 96)
|
|
{
|
|
write(1, &i, 1);
|
|
i--;
|
|
}
|
|
}
|
|
|
|
/* ////
|
|
int main(void)
|
|
{
|
|
ft_print_reverse_alphabet();
|
|
return (0);
|
|
}
|
|
*/ ////
|