1. 程式人生 > >圓的面積和周長

圓的面積和周長

圓的面積 nbsp return fin urn public ble turn nta

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;
}

圓的面積和周長