double dn=0; double jc=1; for(int a=1;a<=20;a++) { jc*=a; dn=dn+1/jc; } System.out.println(dn);
posted on 2016-05-09 13:15 煜渝 阅读(997) 评论(0) 编辑 收藏 举报