摘要: package test.operator; public class forDemo03 { public static void main(String[] args) { //打印九九乘法表 int i; int j; /** for(i=1;i<=9;i++){ for(j=i;j<=9;j 阅读全文
posted @ 2023-03-16 14:42 chengh0618 阅读(30) 评论(0) 推荐(0) 编辑
摘要: 100.for是for循环的高效写法,等同于for(i=0;i<100;i++) 1、for循环计算0到100之间奇数和偶数的和 2、用While循环或For循环输出1至1000之间能被5整除的数,并且每行输出3个 package test.operator; public class forDem 阅读全文
posted @ 2023-03-16 14:40 chengh0618 阅读(24) 评论(0) 推荐(0) 编辑