第五章第十三题(求满足12000 > n^3的n的最大值)(Find the largest n such that 12000 > n ^ 3)
- 5.13(求满足n ^ 3 < 12000的n最大值)用while循环找出满足n ^ 3小于12000的最大整数n。
5.13(Find the largest n such that n^2 < 12000) Use a while loop to find the largest integer n such that n ^ 2 is less than 12,000. - 参考代码:
package chapter05;
public class Code_13 {
public static void main(String[