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