解题思路:基本按照那样子输出就可以了
注意事项:
参考代码:
public class Main { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub System.out.println("---------------------------------------------------"); System.out.println("COUNTRY AREA(10K km2) POP.(10K) GDP(Billion$)"); System.out.println("---------------------------------------------------"); System.out.println("China 960.00 129500.00 1080.00"); System.out.println("Iceland 10.30 27.57 8.20"); System.out.println("India 297.47 97000.00 264.80"); System.out.println("Madagascar 62.70 1635.00 3.60"); System.out.println("Maldive 0.0298 27.80 0.23"); System.out.println("---------------------------------------------------"); } }
0.0分
1 人评分