解题思路:
坑人的格式化输出!!!!!
害得我错了好几次!!!
上题解!
注意事项:
无。
参考代码:
#include<bits/stdc++.h>
using namespace std;
int main()
{
cout<<"---------------------------------------------------"<<"\n";
cout<<"COUNTRY AREA(10K km2) POP.(10K) GDP(Billion$)"<<"\n";
cout<<"---------------------------------------------------"<<"\n";
cout<<"China 960.00 129500.00 1080.00"<<"\n";
cout<<"Iceland 10.30 27.57 8.20"<<"\n";
cout<<"India 297.47 97000.00 264.80"<<"\n";
cout<<"Madagascar 62.70 1635.00 3.60"<<"\n";
cout<<"Maldive 0.0298 27.80 0.23"<<"\n";
cout<<"---------------------------------------------------"<<"\n";
return 0;
}
0.0分
0 人评分