C (Basic stuff) - Write User Input to a File [self-solved]

Basically, I want to have the user input four names and four grades into a text file (2 columns); just for example:

Mary 98

Mike 60

John 78

Beth 89

I want to be able to read the file (presumably with fscanf) and display the highest/lowest grades, and the average of them. So I would need to create variables for all the inputs, right? In class today, we learned about structures, so I'm assuming one might need to be implemented. I have no actually useful code, but here's the start of it:

// Print highest and lowest scores and their respective students
printf("\nThe highest score was a %d from %s.\n", iHighestScore,
arrcHighestName);
printf("The lowest score was a %d from %s.\n", iLowestScore,
arrcLowestName);