1、编写一个函数print,打印一个学生的成绩数组,该数组中有5个学生的数据记录,每个记录包括num,name,score[3],用主函数输入这些记录,用print函数输出这些记录。
#include<stdio.h>
#define N 5
struct Student{
char num[6];
char name[8];
int score[3];
}stu[5];
void print(struct Student stu[5]);
int main(){
int i,j;
for(i=0;i<N;i++){
printf("input score of student %d:",i+1);
printf("NO:");
scanf("%s",stu[i].num);
printf("name:");
scanf("%s"