You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
816 B
38 lines
816 B
#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;
|
|
}
|