Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2302580092周诗曼 #60

Open
corianderM opened this issue Mar 11, 2024 · 0 comments
Open

2302580092周诗曼 #60

corianderM opened this issue Mar 11, 2024 · 0 comments

Comments

@corianderM
Copy link

#include<stdio.h>
struct stu
{
    char num[20];
    float score;
};
int main(){
    void input(sturct student s[]);
    stru student s[N],*p=s;
    print(max(p));
}
void input(sturct student s[])
{
    int i;
    printf("请输入全班的学号和某一门课程的考试成绩");
    printf("将该课程的成绩按高到低排列");
    for(i=0;i<N;i++)
    {
        scanf("%d %s %f %f %f",&s[i].num,&s[i].score);
    }
    struct student max(struct student student s[])
    {
        int i,m=0;
        for(i=0;i<N;i++)
}
void printf(struct stduent stud)
{
    printf("全部同学的学号和某一门课程的考试成绩");
    printf("将该课程的成绩按高到低排列");
}
    return 0;
}
```c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant