wrong2
error C2447: missing function header (old-style formal list?)void main();
{int a,b,c;
cout<<"please input a number of three j"<<endl;
cin<<n<<endl;
a=n/100;
b=n/10-a*10;
c=n-a*100-b*10;
int new_number;
new_number=c*100+b*10+a;
cout<<"The new number is"<<new_number<<endl;
}
谢谢