摘要: 1.while循环 package com.kuang.struct; public class WhileDemo01 { public static void main(String[] args) { //输出1-100 int i = 0; while(i<100){ i++; System 阅读全文
posted @ 2021-07-04 17:52 山村小黎明 阅读(34) 评论(0) 推荐(0)
摘要: Scanner package com.kuang.scanner; import java.util.Scanner; public class Demo01 { public static void main(String[] args) { //创建一个扫描器对象,用于接收键盘数据 Scann 阅读全文
posted @ 2021-07-04 11:52 山村小黎明 阅读(97) 评论(0) 推荐(0)