Question: Need help with this C++ Assignment: Please keep me updated on the comments if you do not post the entire answer. Thanks for you assistance!
Need help with this C++ Assignment:




Please keep me updated on the comments if you do not post the entire answer.
Thanks for you assistance!
Task You will design a set of classes for storing student information, along with a main program that will read student information from a file, store the data, compute final grades, and then print a summary report to an output file. Details 1. Design a set of classes that store student grade information. There should be one base class to store common data, and three derived classes that divide the set of students into three categories: English students, History students, and Math students. All data stored in these classes should be private or protected. Any access to class data from outside should be done through public member functions The base class should allocate storage for the following data (and only this data) o student's first name (you may assume 20 characters or less) o student's last name (you may assume 20 characters or less) o Which course the student is in (English, History, or Math) 2. Each class should have a function that will compute and return the student's final average, based on the stored grades. All grades are based on a 100-point scale. Here are the grades that need storing for each subject, along with the breakdown for computing each final grade: English-Term Paper = 25%, Midterm = 35%, Final Exam-40% History-Attendance-10%, Project = 30%, Midterm = 30%, Final Exam = 30% Math -- There are 5 quizzes, to be averaged into one Quiz Average (which can be a decimal number). Final grade computed as follows: * Quiz Average = 15%, Test 1 = 25%, Test 2 = 25%, Final Exam = 35% 3. Write a main program (in a separate file) that does the following (in this order) a) Ask the user for input and output file names. This is the only input and output that should be done from keyboard and to the screen. All other input and output will be to and from files. (See the sample run below) b) Read the student data from the input file and store it using an array of appropriate type. You should use just one array for all students, not a separate array for each subject (i.e. this will be a heterogeneous list). You will need to allocate this list dynamically, since the size is stored in the input file. (Note that this also means each list item will need to be created dynamically). Each student's data should be stored in a separate object. (Any dynamically allocated space should be cleaned up appropriately with delete when you are finished with it)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
