作业帮 > 综合 > 作业

为啥他说我的case是非法的,illegal case

来源:学生作业帮 编辑:搜狗做题网作业帮 分类:综合作业 时间:2024/06/09 12:23:31
为啥他说我的case是非法的,illegal case
void chuli_students(struct students stu[])
{
\x05int c;
\x05int number,i;
\x05do
\x05{
\x05printf("……………………………………………………");
\x05printf("1:按学号排序 2:查询\n");
\x05printf("3:统计 4:返回主菜单\n");
printf("……………………………………………………");
\x05printf("请选择具体的处理内容");
scanf("%d",&c);
\x05{
\x05switch(c)
\x05case 1:paixu_students(stu);break;
\x05case 2:chaxun_students(stu);break;
\x05case 3:tongji_students(stu);break;
\x05case 4:break;
}
\x05}while(c!=4);
}
为啥他说我的case是非法的,illegal case
少了大括号