#include <stdio.h>
#include <assert.h>
#include <string.h>
void print(int nb)
{
printf("%c", nb + '0');
}
void ft_putnbr(int nb)
{
int a;
int b;
a = 0;
b = 0;
if (nb < 10)
print(nb);
else
{
ft_putnbr(nb / 10);
b = nb % 10;
print(b);
}
}
int main()
{
ft_putnbr(4213);
}
To embed this program on your website, copy the following code and paste it into your website's HTML: