public class D{
public static void main(String[] args){
double s;
double r;
double l;
r = 5.5;
s = Math.PI * r * r;
l = Math.PI * 2 * r;
System.out.println("圆的面积为" + s);
System.out.println("圆的周长为" + l);
}
}
public class D{
public static void main(String[] args){
double s;
double r;
double l;
r = 5.5;
s = Math.PI * r * r;
l = Math.PI * 2 * r;
System.out.println("圆的面积为" + s);
System.out.println("圆的周长为" + l);
}
}