Ŀ

գҪıйص䡣
ɸѧϢѧšͳɼѧΪ0ʱһһɼֵɼڵڸֵѧϢ
ʾ
庯struct stud_node *Creat_Stu_Doc()ɴ
庯struct stud_node *DeleteDoc(struct stud_node *head,int min_score)min_scoreĽɾ
庯void Ptrint_Stu_Doc(struct stud_node *head)ӡ
ʾΪ˵
룺
1 zhang 78
2 wang 80
3 li 75
4 zhao 85
0
80

2 wang 80
4 zhao 85



#include<stdio.h>
#include<stdlib.h>
#include<string.h>
struct stud_node{
	int num;
	char name[20];
	int score;
	struct stud_node *next;
};
struct stud_node *Creat_Stu_Doc();
struct stud_node *DeleteDoc(struct stud_node *head,int min_score);
void Ptrint_Stu_Doc(struct stud_node *head);
void main()
{
	struct stud_node *head;
	int min_score;

	head=Creat_Stu_Doc();
	scanf("%d",&min_score);
	head=DeleteDoc(head,min_score);
	Ptrint_Stu_Doc(head);
}
/*---------*/

/*---------*/

/*---------*/