JAVA笔记十四:循环 for、switch、white
1、星期几for (; ; ) { Scanner scan = new Scanner(System.in); System.out.print("请输入数字:"); int num = scan.nextInt(); switch (num) { case 0: System.out.println("星期日