在这里插入代码片#include<stdio.h>
int main()
{
struct student
{
int number;
char name[10];
float score_1;
float score_2;
float score_3;
float ava;
};
struct student a[5];
int i,j;
for(i=0; i<5; i++)
{
scanf("%d",&a[
结构体习题(1):输入n名学生学号、姓名、三门课成绩,计算平均分,输出排行榜
最新推荐文章于 2023-03-31 15:02:33 发布