42/d02/ex01/ft_print_reverse_alphabet.c

26 lines
1 KiB
C
Raw Permalink Normal View History

2016-11-20 02:20:23 +02:00
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_print_reverse_alphabet.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: gtertysh <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2016/10/27 10:58:34 by gtertysh #+# #+# */
/* Updated: 2016/10/27 11:39:26 by gtertysh ### ########.fr */
/* */
/* ************************************************************************** */
int ft_putchar(char c);
void ft_print_reverse_alphabet(void)
{
char z;
z = 'z';
while (z >= 'a')
{
ft_putchar(z);
z = z - 1;
}
}