public class Test{
public static void main(String[] args){
int days = 6;
String whatday = "";
switch{
case 0 : whatday = "星期日";
break;
case 1 : whatday = "星期一";
break;
case 2 : whatday = "星期二";
break;
case 3 : whatday = "星期三";
break;
case 4 : whatday = "星期四";
break;
case 5 : whatday = "星期五";
break;
case 6 : whatday = "星期六";
break;
default: whatday = "未知";
}
System.out.println(whatday);
}
}