主页 > 数据处理 > 求c语言编程代码

求c语言编程代码

2021-10-14 17:16来源:m.sf1369.com作者:宇宇

struct stu
{
char name[30];
int score;
int n;
}student[S];
int sum;

int input()
{
int i;
for(i=0;imax) {
max=student[i].score;
maxid=i;}
}
printf(No.%d:%s,his score is %d\n,found+1,student[maxid].name,max);
max=0;
student[maxid].score=0;
found++;}
}

int main()
{
printf(How many students:);
scanf(%d,&n);
input();
theSix();
printf(The average:%d,sum/S);
getchar();
getchar();
}

上一篇:   没有了
相关推荐

车联网企业国内有哪些?

数据处理 2023-12-23

注册计量师-请教贴

数据处理 2023-12-19

逆光照片怎么处理

数据处理 2023-12-08