#include
using namespace std;
void Reverse_Printf_num(int n)
{
cout << n % 10;
if (n >= 10)
Reverse_Printf_num(n / 10);
}
int main()
{
int n = 0;
cin >> n;
Reverse_Printf_num(n);
return 0;
}
来源:CSDN
作者:ldbite
链接:https://blog.csdn.net/ldbite/article/details/104180636