This is a basic layout of a menu function that you'd call from main(). The switch statement needs to be filled in with your menu option actions when you make a choice, of course.
Note especially the do while loop, that keeps repeating the printing of the menu, until the user wants to quit. A for loop just won't do it nearly as clearly.
Code:
int menu (void)
{
double hi_score, lo_score, avg_score; //change hi and lo to int's.
int choice, scores[SIZE];
get_score(scores);
do {
printf("\nMENU:");
printf("\nView HIGH SCORE enter 1");
printf("\nView LOW SCORE enter 2");
printf("\nView AVERAGE SCORE enter 3");
printf("\nQUIT enter 4");
printf("\nEnter your choice: ");
scanf("%d", &choice);
(void) getchar(); //clean the input of newline
switch (choice) {
case 1: //your code might call many other functions here
break;
case 2: //to handle all these possible choices
break;
case 3: //your code here
break;
case 4: //your code here
break;
default:
printf("Error! Try again please\n");
}
}while(choice != 4);
return 0; //or (0)
}