parent
c50cca592e
commit
a62f358a3b
Binary file not shown.
@ -0,0 +1,37 @@
|
||||
#include<stdio.h>
|
||||
#include<string.h>
|
||||
struct
|
||||
{
|
||||
char id[15];
|
||||
char name[20];
|
||||
char _class[5];
|
||||
char online[1];
|
||||
float begin_hour;
|
||||
float begin_min;
|
||||
float end_hour;
|
||||
float end_min;
|
||||
}student[10];
|
||||
int i,j,k,m;
|
||||
int main(void)
|
||||
{
|
||||
int select;
|
||||
printf("*************欢迎进入机房收费管理系统*************\n");
|
||||
printf(" 1.学生登记\n");
|
||||
printf(" 2.上机费用\n");
|
||||
printf(" 3.修改学生信息\n");
|
||||
printf(" 4.查询学生信息\n");
|
||||
printf(" 5.退出系统\n");
|
||||
printf("*************欢迎进入机房收费管理系统*************\n");
|
||||
printf("请输入选项:");
|
||||
scanf("%d",&select);
|
||||
switch(select)
|
||||
{
|
||||
//case 1: dengji(); break;
|
||||
//case 2: fee();break;
|
||||
//case 3: xiugai();break;
|
||||
//case 4: chaxun();break;
|
||||
//case 5: break;
|
||||
default: printf("没有该功能呀");
|
||||
}
|
||||
return 0;
|
||||
}
|
Loading…
Reference in new issue