int my_put_nbr(int nb) { if ((nb >= 0) && (nb < 10)) my_putchar(48 + nb); else { if (nb < 0) { nb = nb * -1; my_putchar('-'); my_while(nb); } else my_while(nb); } }
int my_put_nbr(int nb) { int a; int c; int d; int e; a = 1; c = 1; d = nb; e = nb; my_while(a, c, d, e); return (0); }