PAT 乙级 1004 题解 (Basic Level) Practice

#include
int main()
{
    struct student
    {
        char name[12],number[12];
        int score;
    };
    int n,i;
    struct student max1,min1,temp;
    max1.score=-1,min1.score=101;

    scanf("%d",&n);
    for(i=0;imax1.score)
       {
           max1=temp;
       }
       if(temp.score

 

你可能感兴趣的:(PAT乙级)