IDE CODES 源码
套餐第4章; 公共课程第6章{ public double getCircleArea(double radius){ return (Math.PI * Math.pow(radius , 2)); } public double pythagoras(double opposite, double adjacent){ double hypotenuse = Math.sqrt(Math.pow (opposite , 2) + Math.pow (adjacent , 2)); return hypotenuse; } public int getPowerOfInteger(int base, int exponent) { int powerOfInteger = 1; for (int counter = 0; counter< expone
用户评论