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-10-07 07:34:26
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;
}