forked from pn8rjlxip/System
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
314 B
13 lines
314 B
2 years ago
|
void ReadScore(STU stu[], int n, int m)
|
||
|
{
|
||
|
int i, j;
|
||
|
printf("Input student's ID, name and score:\n");
|
||
|
/* ---------- begain ---------- */
|
||
|
for(i=0;i<n;i++)
|
||
|
{scanf("%ld%s",&stu[i].num,stu[i].name);
|
||
|
for (j=0; j<m; j++)
|
||
|
scanf("%f",&stu[i].score[j]);
|
||
|
}
|
||
|
|
||
|
/* ----------- end ----------- */
|
||
|
}
|