收起
#include <iostream> using namespace std; int main() { int a,b,c,d; cin>>a; while(a!=0) { b=a%10; cout<<b; a=a/10; } return 0; }
如有用请采纳
报告相同问题?