00:01
Okay, so we are asked to write a c+ + program that prompts user for an to enter a file name that contains the scores of students in a quiz.
00:10
Each line in the input file contains a student namefall by the student score, as shown as a sample to the right, and that's down here.
00:19
The program should then find out the students with the minimum score and the maximum score and display their names in the scores.
00:25
Now, marks .txte is going to be our file, and then this is going to be how the actual text file looks inside.
00:37
So back to our, we're going to jump into our main code.
00:41
Line is going to be our string that holds the line by line.
00:47
User file is going to be the actual text that the user enters with the file name.
00:54
Student count is just going to be an initial count of however many students are going to be parsed to the file.
01:01
In this case we have six.
01:04
We have a string array and an int array.
01:09
These are going to be, this is going to be a two -dimensional array overall.
01:13
And so one's going to be holding the names, the other's going to be holding the scores.
01:18
And in the c outline here, it's just asking the user to enter a file name...