1
#include<iostream>
using namespace std;
int main()
{
cout << "姓名:GZW" << endl;
cout << "地址:湖南省长沙市" << endl;
system("pause");
return 0;
}
2
#include<iostream>
using namespace std;
int main()
{
int distance;
int yards;
cout << "请输入距离(以long为单位):" << endl;
cin >> distance;
yards = 220 * distance;
cout << distance << " long = " << yards << " yards" << endl;
system("pause");
return 0;