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

PROGRAMMING:Student score entry and query

Luz5年前 (2021-05-10)题库443
In the student's grade table, a student's information includes the following information:
Student number (11), name, mathematics score, English score, programming score, physics score.
This problem requires the preparation of procedures, input 'n' student information, and according to the query requirements to display student performance and other information.
###Input format:
Enter the positive integer n in the first line (n < = 10); Then n lines, each in the following format:
```
Student number name mathematics grade English grade programming grade physics grade
```
Give information about a student.
The student number is 11 digits; The name is a non empty string with no more than 10 characters and no spaces; The score is a non negative integer of < = 100;
After the input of student information, give the name to query.
###Output format:
For each student whose name is queried, output in the following format in one line:
```
Student number name mathematics grade English grade programming grade physics grade
```
If there are students with the same name, output the information of all students, one line for each student;
If the student to be queried does not exist, output:
```
Not Found!
```
###Input example:
Here is a set of inputs. For example:
```in
four
20201003012 LiWen 68 90 78 86
20201003012 HeHua 91 88 80 82
20201002121 WangFang 78 78 82 90
20201002112 ZhengYi 56 83 77 80
ZhengYi
```
###Output example:
The corresponding output is given here. For example:
```out
20201002112 ZhengYi 56 83 77 80
```







answer:If there is no answer, please comment