java珠穆朗玛峰(while)版程序

public class zmlmf02 {
public static void main(String[] args) {
System.out.println("程序开始");
int jsq = 0;
double zz = 0.1;
int zf = 8844430;
while (zz <= zf){
zz *= 2;
jsq++;
}
System.out.println("需折叠" + jsq + "次");
System.out.println("结束");
}
}

你可能感兴趣的:(java,开发语言)