42/d02/ex02/ft_print_numbers.c
2016-11-20 02:20:23 +02:00

25 lines
1 KiB
C

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_print_numbers.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: gtertysh <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2016/10/27 10:59:11 by gtertysh #+# #+# */
/* Updated: 2016/10/27 11:40:34 by gtertysh ### ########.fr */
/* */
/* ************************************************************************** */
int ft_putchar(char c);
void ft_print_numbers(void)
{
char z;
z = '0';
while (z <= '9')
{
ft_putchar(z);
z = z + 1;
}
}