-
Notifications
You must be signed in to change notification settings - Fork 0
/
ft_print_numbers.c
30 lines (26 loc) · 1.03 KB
/
ft_print_numbers.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
26
27
28
29
30
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_print_numbers.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: davgalle <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/07/08 11:46:18 by davgalle #+# #+# */
/* Updated: 2023/07/09 16:17:48 by davgalle ### ########.fr */
/* */
/* ************************************************************************** */
#include<unistd.h>
void ft_print_numbers(void)
{
int c;
c = '0';
while (c <= '9')
{
write(1, &c, 1);
c++;
}
}
/*void main(void)
{
ft_print_numbers();
}*/