摘要: 输出效果: 阅读全文
posted @ 2017-12-22 16:53 振华213 阅读(1330) 评论(0) 推荐(0) 编辑
摘要: public class JieChengPlus { public static void main(String[] args) { //求1!+2!+3!+4!+5!+6!+7!+8!+9!+10! int jiecheng=1; int count=0; for(int s=1;s<=4;s++){ jiecheng=1; for(int k=1;k<=s... 阅读全文
posted @ 2017-12-22 16:02 振华213 阅读(255) 评论(0) 推荐(0) 编辑
摘要: //while-if嵌套 /*char n='*'; int m=1; System.out.println("==输出10行10列的星号=="); while(m<101){ System.out.print(n+" "); if(m%10==0){ System.out.println(); } m++; */ //whil... 阅读全文
posted @ 2017-12-22 11:33 振华213 阅读(3559) 评论(0) 推荐(0) 编辑