public class Exercise08 { public static void main(String[] args){
double c=2 * 5.5 * Math.PI;
double s=5.5 * 5.5 * Math.PI;
System.out.println("周长为"+c);
System.out.println("面积为"+s);
}
27页 1.8
原文:http://www.cnblogs.com/777lixiaohui/p/7538326.html