Beginner in C here, please bear with my question since I am having a hard time explaining it. And I'm really sorry if my terms are incorrect. I hope you get it.

Say that I have my struct like this:

```
struct studentType
{
       char studentFName[20];
       char studentLName[20];
       int score;
       char grade;     
}s[20];

```

and I have inputted 3 elements in to `s`. Now I have compared each others score, 
through this:

```
void getHighestScorer(struct studentType s[20])
{
     int maximum, i;
     maximum = s[0].score;
     for(i=0;i<3;i++)
     {
      if (s[i].score > maximum)
      {
       maximum = s[i].score;             
      }
     }    
}

```

and I have found that `s[2]` has the highest score compared to the others. How will I actually print that one on another function with its other "struc mates" 

I actually tried doing it on the function above like this(and it didn't work):

```
void getHighestScorer(struct studentType s[20])
{
     int maximum, i;
     maximum = s[0].score;
     for(i=0;i<3;i++)
     {
      if (s[i].score > maximum)
      {
       maximum = s[i].score;             
      }
     } 
     printf("The highest scorer is: %s, %s %d\n", s[i].studentLName,s[i].studentFName,  
              s[i].score);
}

```

My whole program is [here](http://pastebin.com/SDJr7f42)