1 /∗∗ Computes the value of x raised to the nth power, for nonnegative integer n. ∗/ 2 public static double power(double x, int n) 1 3 if (n == 0) 4 ...
確定! 回上一頁