while 解决 10000米绳子 对折当 绳长小于5米时求绳的对折次数

public static void main(String args[]){

double length = 10000;

int day = 0;

while(day > 5){

length = length * 5;

day++;

}

System.out.println(day);

}

你来是缘分,你走也是
原文地址:https://www.cnblogs.com/chenligeng/p/7612538.html