换一种写法
#include "my.h"char course[N][20];
void dispnode(Student *p)
{
int i;
printf("\n\nData for the student:\n");
printf("number is %ld\tname is %s\n",p->number,p->name);
printf("%d course scores are:\n",N);
for(i=0;i<N;i++)
printf("%s\t%d\n",course[i],p->score[i]);
}
谁可以帮我一下,把这段代码换另一种方法写出来