Question: Create a Student class which will contain the following:1)A String object to hold a students last name2)An array object to hold five integers representingthe students

Create a Student class which will contain the following:1)A String object to hold a students last name2)An array object to hold five integers representingthe students grades3)A method to read in the Student class from a file formatted as:a)Name on one line by itselfb)Five integer values for the grades on one line delineated by commas4)A method to display the students name, grades, and average.An Array class will be used to hold the collection of Student objects. This Array class will have a method to sort the Student records by name.Demonstrate the correct working of your classes by reading in a collection of student records from a file, sort the records, and print them. If a name is EOF it will mark the end of the file.There will be a maximum of 25 student records in the file, although it may be less.TO TURN IN:1)An electronic copy of the .cpp and .h files in the project folder as created by Visual Studio.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!