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

PROGRAMMING:Print function to print the student score structure array

Luz5年前 (2021-05-10)题库380
Write a pirnt function, print student score array, the array has 5 students, each student data has student number num, name name, score [3]. Main function input 5 students data, printf function output
###Input format:
Here is the structure reference. Specific format copy sample format use!
Student 1 student number student 1 name student 1 grade 1 student 1 grade 2 student 1 grade 3
Student 2 student number student 2 name student 2 grade 1 student 2 grade 2 student 2 grade 3
。。。。。。
Student 5 student number student 5 name student 5 grade 1 student 5 grade 2 student 5 grade 3
###Output format:
Here is the structure reference. Specific format copy sample format use!
Student 1 student number student 1 name student 1 grade 1 student 1 grade 2 student 1 grade 3
Student 2 student number student 2 name student 2 grade 1 student 2 grade 2 student 2 grade 3
。。。。。。
Student 5 student number student 5 name student 5 grade 1 student 5 grade 2 student 5 grade 3
###Input example:
Here is a set of inputs. For example:
```in
1 zhao 98 54 34
2 qian 87 100 79
3 sun 76 85 94
4 li 98 75 82
5 zhou 100 98 94
```
###Output example:
The corresponding output is given here. For example:
```out
1 zhao 98 54 34
2 qian 87 100 79
3 sun 76 85 94
4 li 98 75 82
5 zhou 100 98 94
```







answer:If there is no answer, please comment