Question: in C++. Please no reposts. Using an array of objects, implement an object-oriented student database for the given data. Each line in the data file

in C++. Please no reposts.

in C++. Please no reposts. Using an array of objects, implement an

object-oriented student database for the given data. Each line in the data

Using an array of objects, implement an object-oriented student database for the given data. Each line in the data file should contain a student's name in col. 1-20. class standing in col. 21-30, and GPA in col. 31- 34. Use the following data in your input file. NAME Williams, Leonard CLASS Freshman GPA 1.85 Smith, Sheila Senior 2.99 Anderson, Andy Sophomore 3.01 Wiser, Bud Freshman 4.00 Robertson, Jully Junior 2.78 Koran, Korn Junior 3.50 Smith. Sam Junior 2.14 Johnson, Jim Junior 3.05 Johnson, Jane Junior 3.75 Potter, Pam Senior 2.98 Brown, Bill Sophomore 2.55 Crooks, Cathy Freshman 1.99 Gregg, Howard Senior 2.44 Nicholas. Judy Senior 3.69 White, Bob Sophomore 1.64 Walsh, Fred Junior 4.00 Dennis, Susan Senior 2.06 Roberts, Rachel Sophomore 4.00 Fredericks, Mary Freshman 2.89 Holmes, Wendy Senior 2.56 Edwards, James Sophomore 3.00 Green, Barbara Sophomore 3.67 Brown, David Freshman 2.00 Williamson, Walt Sophomore 2.95 Carson, Jim Sophomore 2.03 Your program should be able to read from a file the above data into an one-dimensional array and sort it by the student's name in an ascending order. And also the record office would like to have a sorted class list for each class, freshman, sophomore, junior, and senior. (use an array of objects of a class). Send the output to a file. Use overload io operators. Print out the following: A. The sorted master list with the average GPA of the entire college. B. The freshman list with the average GPA of the freshmen. C. The sophomore list with the average GPA of the sophomores. D. The junior list with the average GPA of the juniors. E. The senior list with the average GPA of the seniors

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!