编辑代码

#include <stdio.h>
int main () {
    //JSRUN引擎2.0,支持多达30种语言在线运行,全仿真在线交互输入输出。 
    printf("Hello world!     - c.jsrun.net.\n");
    int day =0;
    scanf("%d",&day);

   switch(day){
        case 1:
        printf("星期1\n");
        break;
        case 2:
        printf("星期2\n");
        break;
        case 3:
        printf("星期3\n");
        break;
    }

    switch(day){

           case 1:
        printf("星期1\t");
       
        case 2:
        printf("星期2\t");
        
        case 3:
        printf("星期3");
        break;

    }

        switch(day){

           case 1:
      
       
        case 2:
        printf("weeker\n");
        break;
        
        case 3:
        case 4:
        printf("weekend\n");
       
        break;

    }





    return 0;
}