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