//一张a4的厚度是88毫米,每次对折一次,求这几次之后高度超过8848 double a6=0.0088; int a7=1; while (a6<8848) { a7=a7+1; a6=a6*2; } System.out.println(a7);