forked from pn8rjlxip/System
parent
db39dfb056
commit
939ab76382
@ -0,0 +1,13 @@
|
|||||||
|
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 ----------- */
|
||||||
|
}
|
Loading…
Reference in new issue