#include <iostream>
using namespace std;
int main()
{
int a,b,c;
char d,e='.';
cin>>a>>d>>b>>d>>c;
cout<<c<<e<<a<<e<<b;
return 0;
}
学习总结:
这个小程序虽然短,但是也用到了字符,有收获。
#include <iostream>
using namespace std;
int main()
{
int a,b,c;
char d,e='.';
cin>>a>>d>>b>>d>>c;
cout<<c<<e<<a<<e<<b;
return 0;
}
学习总结:
这个小程序虽然短,但是也用到了字符,有收获。