Question: the code should be done on file streaming as it takes data from txt file and output data on txt file as given and there



the code should be done on file streaming as it takes data from txt file and output data on txt file as given and there should be a seprate class for history subject english subject math subject use inheritance , class, and templates as the given instruction also dram the uml diagram regards,
use c++ for coding
You will design a set of classes for storing student information, along with a class that will manage a list of students. Data can be imported from files for storage in the list, and summary reports with computed final grades will be printed to output files. 1. Design a set of classes that stores student grade information Students can be classified into three categories: English students, History students, and Math students. The Student information is as follows student's first name student's last name . 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 -- Attendance = 10%, Project = 30%, Midterm = 30%, Final Exam = 30% History -- Term Paper = 25%, Midterm = 35%, Final Exam = 40% Math -- There are 3 quizzes (each out of 100), to be averaged into one Quiz Average (which will be a decimal number). Final grade computed as follows: * Quiz Average = 10%, Test 1 = 25%, Test 2 = 25%, Final Exam = 40% 3. The datatype of marks in above courses (English, History and Math) can vary. It could be float, double, integer, long or any other user defined datatype. If the input file contains double marks instead of integer, your program should run for it. Use class templates and function templates in classes. 4. Identify all the classes and their relation and find which functions need to be virtual. Make a UML Diagram and define all the classes according to UML Diagram. testl.txt 4 Bunny, Bugs Math 90.1 86.2 80.3 99.5 96.7 93.2 Schmuckatelli, Joe History 88 75 90 Dipwart, Marvin English 95 76 72 88 Crack Corn, Jimmy Math 44 58 23 59 77 68 test2.txt 2 Kirk, James T. English 40 100 68 88 Lewinsky, Monica Lab Manual of History 60.5 72.5 78 Student Grade Summary ENGLISH CLASS Student Name Final Final Exam Avg Letter Grade Marvin Dipwart James T. Kirk 88 88 80.30 80.80 B B HISTORY CLASS Student Name Final Final Exam Avg Letter Grade Joe Schmuckatelli Monica Lewinsky 90 78 84.25 71.40 B MATH CLASS Letter Student Name Final Final Exam Avg Grade Bugs Bunny Jimmy Crack Corn 93 68 94.83 65.33 A D OVERALL GRADE DISTRIBUTION 1 3 A: B: C: D: E: 1 1 0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
