text: /* ************************************************************************** */
  /*                                                                            */
  /*                                                        :::      ::::::::   */
  /*   ft_putunbr.c                                       :+:      :+:    :+:   */
  /*                                                    +:+ +:+         +:+     */
  /*   By: rtorres- <rtorres-@student.42.us.org>      +#+  +:+       +#+        */
  /*                                                +#+#+#+#+#+   +#+           */
  /*   Created: 2020/08/13 21:51:10 by rtorres-          #+#    #+#             */
  /*   Updated: 2020/08/13 21:51:12 by rtorres-         ###   ########.fr       */
  /*                                                                            */
  /* ************************************************************************** */
  
  #include "libft.h"
  
  /*
  ** Outputs the unsigned integer n to the standard output.
  */
  
  void	ft_putunbr(uintmax_t n)
  {
  	char	c;
  
  	if (n < 10)
  	{
  		c = n + '0';
  		ft_putchar(c);
  	}
  	else
  	{
  		ft_putunbr(n / 10);
  		ft_putunbr(n % 10);
  	}
  }
  