commit
c183152a45
@ -0,0 +1,25 @@
|
|||||||
|
#include<string.h> //字符串处理函数
|
||||||
|
#include<stdio.h>//输入,输出函数
|
||||||
|
#include<malloc.h>//动态存储分配函数
|
||||||
|
#include<stdlib.h>//动态内存分配函数
|
||||||
|
#include<conio.h>
|
||||||
|
int main()
|
||||||
|
{
|
||||||
|
int n,w=1;
|
||||||
|
do{
|
||||||
|
system("cls");
|
||||||
|
printf("\t\t\t 1.选修课信息\n");
|
||||||
|
printf("\t\t\t 2.学生选课\n");
|
||||||
|
printf("\t\t\t 3.退出\n");
|
||||||
|
printf("请选择1~3\n");
|
||||||
|
scanf("%d",&n);
|
||||||
|
switch(n)
|
||||||
|
{
|
||||||
|
//case 1:Mangers();break;
|
||||||
|
//case 2:Students();break;
|
||||||
|
case 3:w=0;break;
|
||||||
|
default:;
|
||||||
|
}
|
||||||
|
}while(w==1);
|
||||||
|
return 0;
|
||||||
|
}
|
Loading…
Reference in new issue