大佬们帮帮忙,小弟刚入编程不会这个。123输出1 2 3
# include <stdio.h>void a(int n)
{
int i;
if((i=n/10)!=0)
a(i);
putchar(n%10+'0');
}
int main()
{
long b;
scanf("%d",&b);
if(b<0)
{ printf("- ");
b=-b;}
a(b);
if(b==0){
putchar('0');
printf("\n");}
if(b>0)
{ putchar (32);
}
return 0;
}