26 lines
		
	
	
		
			1015 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			1015 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /* ************************************************************************** */
 | |
| /*                                                                            */
 | |
| /*                                                        :::      ::::::::   */
 | |
| /*   ft_print_numbers.c                                 :+:      :+:    :+:   */
 | |
| /*                                                    +:+ +:+         +:+     */
 | |
| /*   By: cchauvet <marvin@42.fr>                    +#+  +:+       +#+        */
 | |
| /*                                                +#+#+#+#+#+   +#+           */
 | |
| /*   Created: 2022/07/14 13:55:25 by cchauvet          #+#    #+#             */
 | |
| /*   Updated: 2022/07/14 14:45:15 by cchauvet         ###   ########.fr       */
 | |
| /*                                                                            */
 | |
| /* ************************************************************************** */
 | |
| 
 | |
| #include <unistd.h>
 | |
| 
 | |
| void	ft_print_numbers(void)
 | |
| {
 | |
| 	char	a;
 | |
| 
 | |
| 	a = '0';
 | |
| 	while ('9' >= a)
 | |
| 	{
 | |
| 		write(1, &a, 1);
 | |
| 		a++;
 | |
| 	}
 | |
| }
 |