public class world{public static void main(String[] args){double p=3.14,i=5.50;
System.out.println(" 圆的面积:"+ p*i*i+ "cm2");System.out.println(" 圆的周长:"+ 2*i*p +"cm");
}}
27页 1.12
原文:http://www.cnblogs.com/777lixiaohui/p/7538364.html