摘要:
package struct; public class DoWhileDemo01 { public static void main(String[] args) { int i = 0; int sum = 0; do{ sum = sum+i; i++; }while (i<=100); S 阅读全文
posted @ 2023-11-18 15:37
Cloudhahaha
阅读(10)
评论(0)
推荐(0)
摘要:
package struct; public class WhileDemo01 { public static void main(String[] args) { int i = 0; while(i<100){ i++; System.out.println(i); } //0-100的数 } 阅读全文
posted @ 2023-11-18 13:10
Cloudhahaha
阅读(11)
评论(0)
推荐(0)
摘要:
阅读全文
posted @ 2023-11-18 12:17
Cloudhahaha
阅读(10)
评论(0)
推荐(0)

浙公网安备 33010602011771号