package com.bdqn.demo;
import java.util.Scanner;
public class OrderingMgr {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
System.out.println("请输入星期几:");
int xinqi =input.nextInt();
switch (xinqi) {
case 1:
case 3:
case 5:
System.out.println("学习编程");
break;
case 2:
case 4:
case 6:
System.out.println("学习英语");
break;
default:
System.out.println("休息");
break;
}
}
}
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
System.out.println("请输入星期几:");
int xinqi =input.nextInt();
switch (xinqi) {
case 1:
case 3:
case 5:
System.out.println("学习编程");
break;
case 2:
case 4:
case 6:
System.out.println("学习英语");
break;
default:
System.out.println("休息");
break;
}
}
}