标签:
public class ZhuMuLangMaZhi { public static void main(String[] args) { double A = 0.0008; int B = 0; while (A<8848) { B=B+1; A=A*2; } System.out.print(B); } }
初学JAVA——代码练习(折纸比山高)
原文地址:http://www.cnblogs.com/zhaoxifei/p/5024497.html