#include<stdio.h>
void solve(int n)
{
printf("%d", n%10);
n=n/10;
if(n>0) solve(n);
}
int main(void)
{
int n;
scanf("%d",&n);
solve(n);
return 0;
}
05-07
7378
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
#include<stdio.h>
void solve(int n)
{
printf("%d", n%10);
n=n/10;
if(n>0) solve(n);
}
int main(void)
{
int n;
scanf("%d",&n);
solve(n);
return 0;
}