public class ComputeArea
{
public static void main(String args[])
{
final double PI=3.14159;
double area;
area=PI*10*10;
System.out.println("The area for the circle of 10 is"+area);
}
}
作业二:计算圆面积
最新推荐文章于 2023-06-07 01:39:31 发布
public class ComputeArea
{
public static void main(String args[])
{
final double PI=3.14159;
double area;
area=PI*10*10;
System.out.println("The area for the circle of 10 is"+area);
}
}