Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Practical Neo4j

Authors: Gregory Jordan

1st Edition

1484200225, 9781484200223

More Books

Students also viewed these Databases questions

Question

How is labor productivity related to the standard of living?

Answered: 1 week ago