为了账号安全,请及时绑定邮箱和手机立即绑定
        int a;
        if(today=='一') a=1;
        if(today=='二') a=2;
        if(today=='三') a=3;
        if(today=='四') a=4;
        if(today=='五') a=5;
        if(today=='六') a=6;
        if(today=='日') a=7;
    	switch(a)
        {
            case 1:
            case 3:
            case 5:
                System.out.println("早餐吃包子");
                break;
            case 2:
            case 4:
            case 6:
                System.out.println("早餐吃油条"); 
                break;
            case 7:
                System.out.println("吃主席套餐");
                break;
        }


正在回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信