c语言学生成绩删除功能,c语言学生成绩管理系统程序设计,有添加,查找,删除,输出,修改,排序等功能!!!...

这是一个使用C语言编写的学生成绩管理系统,具备添加、查找、删除、输出、修改和排序等功能。程序通过链表结构存储学生信息,包括学号、姓名和各科成绩,支持按学号和总分进行排序。
摘要由CSDN通过智能技术生成

匿名用户

1级

2012-06-20 回答

同学你参照下,有不懂的,百度上Hi我

#include

#include

#include

#include

struct sc

{

int chinese;

int maths;

int english;

};

typedef struct node

{

int num;

char name[20];

struct sc score;

struct node *next;

}st;

int menu()//菜单

{

int choice;

do{

system("cls");

printf("\t1.input the messega about a student\n");

printf("\t2.insect a messega of a new student\n");

printf("\t3.look for the messega\n");

printf("\t4.dellect the messega\n");

printf("\t5.arranging base on the number of learning\n");

printf("\t6.output all the messega\n");

printf("\t7.arranging base on all scores\n");

printf("\t8.exit the system\n");

printf("\tplease input your choice:");

scanf("%d",&choice);

}while(choice>7&&choice<1);

return choice;

}

st *create()//创建链表

{

st *head,*p,*tail;

char c;

head=tail=NULL;

while(c!='n'&&c!='N')

{

p=(st *)malloc(sizeof(st));

p->next=NULL;

printf("\t\tplease input the number of learning:");

scanf("%d",&p->num);

printf("\t\tplease input the name:");

scanf("%s",p->name);

printf("\t\tplease input the score of chinese:");

scanf("%d",&p->score.chinese);

printf("\t\tplease input the score of maths:");

scanf("%d",&p->score.maths);

printf("\t\tplease input the score of english:");

scanf("%d",&p->score.english);

if(head==NULL)

he

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值