摘要: 题目一:一张纸的厚度大约是0.08mm,对折多少次之后能达到珠穆朗玛峰的高度(8848.13米)? double a = 0.08; double h =0; int i=0; for(i=1;h<8848130;i++) { a=a*2; h=a+h; } System.out.println(i 阅读全文
posted @ 2016-09-12 21:46 hanruyue 阅读(454) 评论(0) 推荐(0) 编辑