-->
当前位置:首页 > 题库

PROGRAMMING:Information output of students whose grades are greater than or equal to a certain value

Luz5年前 (2021-05-10)题库452
Input a number of student information (including student number, name and grade). When the student number is 0, the input is finished, a one-way linked list is established, and then a grade value is input to output the student information whose grade is greater than or equal to the value.
Tips:
Define function struct study_ node *Creat_ Stu_ Doc() completes the creation of the linked list
Define function struct study_ node *DeleteDoc(struct stud_ node *head,int min_ Score) to lower the score below min_ Node deletion of score
Define the function void string_ Stu_ Doc(struct stud_ Node * head) to print the linked list
Input and output example: description in brackets, no input and output required
###Input example:
```in
1 zhang 78
2 wang 80
3 li 75
4 zhao 85
0
eighty
```
###Output example:
```out
2 wang 80
4 zhao 85
```






answer:If there is no answer, please comment