1.将一个整数倒序输出 输入格式 : 12345 输出格式 : 54321 代码: #include<iostream> #include<math.h> using namespace std; int main(){ int t,m=0; cin>>t; while(t > 0){ m = 10 * m + t % 10; t /= 10; } cout<<m; return 0; }