Explanation: The square root of 8 is 2.82842..., and since we want to return an integer, the decimal part ... Java 寫法利用內建的 Math.sqrt() 來計算平方根。
確定! 回上一頁