From the code below I need to add a function to calculate and print the top score for each student, any input?void main(void){
#include <iostream.h>
#define size 4
void main(void){
const int exam = 3;
const int student= 4;
char last_name[size][8];
char first_name[size][8];
char first, last;
int scores[student][exam];
int j=0;
for(register int i=0; i<student; i++)
{
cout<<"Enter first name for student "<<i+1<<": ";
cin>>first_name[i];
cout<<"Enter last name for student "<<i+1<<": ";
cin>>last_name[i];
}
for(i=0;i<student; i++){
for( j=0;j<exam; j++){
cout<<"Enter score #"<<j+1<<"for "<<first_name[i]<<" "<<last_name[i]<<": ";
cin>>scores[i][j];
}
}
}