#include <iostream>
using namespace std;
int main(){
int a, b, c;
cin>>a>>b>>c;
swap(a, c);
swap(a,b);
cout<<a<<" "<<b<<" "<<c<<endl;
return 0;
}
2398 启蒙练习-数字交换
最新推荐文章于 2020-10-25 21:46:07 发布
#include <iostream>
using namespace std;
int main(){
int a, b, c;
cin>>a>>b>>c;
swap(a, c);
swap(a,b);
cout<<a<<" "<<b<<" "<<c<<endl;
return 0;
}