package 圆面积;
public class 圆面积 {
public static void main(String[] args) { // TODO 自动生成的方法存根final double PI = 3.1415926;double r = 3.0,s,l;l = 2 * PI * r;s = PI * r * r;System.out.println("半径为3.0的圆的周长为:"+l+",面积为:"+s);
}