摘要: package com.AoChenguang.Struct;public class WhileDemon { public static void main(String[] args) { double i=0.0; double M=0.0; while (i<100000000.0){ i 阅读全文
posted @ 2020-05-27 18:19 光光1234 阅读(117) 评论(0) 推荐(0) 编辑
摘要: Case:穿透 。 Switch:匹配一个具体的值。 break:组织case继续执行。 public static void main(String[] args) { String name = "胡二刀"; switch (name){ case"敖晨光": System.out.printl 阅读全文
posted @ 2020-05-27 17:53 光光1234 阅读(372) 评论(0) 推荐(0) 编辑
摘要: public static void main(String[] args) { Scanner scanner = new Scanner(System.in); System.out.println("亲输入成绩"); double sorce = scanner.nextDouble(); i 阅读全文
posted @ 2020-05-27 14:13 光光1234 阅读(227) 评论(0) 推荐(0) 编辑
摘要: public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int i=0; float f=0.0f; System.out.println("请输入整数:"); if (scanner.ha 阅读全文
posted @ 2020-05-27 12:30 光光1234 阅读(143) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-05-27 10:33 光光1234 阅读(122) 评论(0) 推荐(0) 编辑