if(k==a[i][j])
{ printf("Your seat number is row:%d,col:%d\n",i+1,j+1);break;}
if(j!=N)break;
}
if(i==N)
printf("Don't have this students,sorry!");
printf("\n\n");
}
void main()
{ int i=0,j=0,k=0,row=0,col=0,choice=0;
int a[N][N]={0};
char ch;
long n=0;
head:
system("cls");本文来自辣.文,论-文·网原文请找腾讯752018766
printf("**********欢迎光临学生考场排座系统*********\n");
printf("************请输入选项(1-4)****************\n");
printf("**********1.设定考场座位*******************\n");
printf("**********2.删除考场座位*******************\n");
printf("**********3.显示某座位考生信息*************\n");
printf("**********4.查询考生座位*******************\n");
scanf("%d",&choice);
switch(choice)
论文范文http://www.chuibin.com/
{ case 1:creat(0,0,0,a);break;
case 2:del(0,0,0,a);break;
case 3:find1(0,0,0,0,a);break;
case 4:find2(0,0,0,a);break; }
printf("do another student want to find his/her seat or you want to return?--Y/N\n");
ch=getch();
if(ch=='y'||ch=='Y')
goto head;}
上一页 [1] [2] [3]
C语言课程设计考场排座系统源代码+流程图 第3页下载如图片无法显示或论文不完整,请联系qq752018766