摘要:
1.whille循环格式: package com.itheima.loop; public class While1 { public static void main(String[] args) { int i=0;//初始化语句 while(i<5){//循环条件 System.out.pr 阅读全文
posted @ 2023-11-29 16:20
小彭先森
阅读(64)
评论(0)
推荐(0)
摘要:
1.for循环: 2. 3.for循环案例 package com.itheima.loop; public class For2 { public static void main(String[] args) { for (int i = 0; i <=100 ; i++) { System.o 阅读全文
posted @ 2023-11-29 16:00
小彭先森
阅读(59)
评论(0)
推荐(0)
浙公网安备 33010602011771号