private final double PI=3.1415;
public double accountGirth(double r){
return 2*PI*5.5;
}
public double accountArea(double r){
return PI*5.5*5.5;
}
时间: 2024-12-06 20:03:49
private final double PI=3.1415;
public double accountGirth(double r){
return 2*PI*5.5;
}
public double accountArea(double r){
return PI*5.5*5.5;
}