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.
29 lines
580 B
29 lines
580 B
#include<stdio.h>
|
|
#include<stdlib.h>
|
|
#include<string.h>
|
|
typedef struct //结构体
|
|
{
|
|
double no;
|
|
char name[30];
|
|
float cscore;
|
|
|
|
}Student;
|
|
FILE *fp;
|
|
int i=0;
|
|
Student s[50];
|
|
void input(); /*输入记录*/
|
|
void output(); /*输出记录*/
|
|
void modify(); /*修改记录*/
|
|
void lookat(); /*学生信息查询*/
|
|
void section(); /*学生成绩分段*/
|
|
void rank(); /*成绩的排序*/
|
|
int fun(); /*目录函数*/
|
|
void choose(int n); /*目录的选项*/
|
|
int main(void) /*主函数*/
|
|
{
|
|
int n;
|
|
system("cls");
|
|
n=fun();
|
|
choose(n);
|
|
}
|