Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Hi there, I need this question in c++ language as soon as possible, with the full and right information. Take your time with it but
Hi there, I need this question in c++ language as soon as possible, with the full and right information. Take your time with it but I need the full information, please.
Develop a system for university, which contains students, and each student has a list of courses records. Ex 1. StudentMarks Class Define and implement a class StudentMarks as described below: Student Class Data members: - student_name as string. - student_no as int. - number_of_courses as integer which is the number of courses for the student. - student_marks: StudentMarks array which contains all the student course information including marks, its size is the number_of_courses. Function member: - A parameterized constructor that receives: student_name, student_no, number_of_courses. you have to use this pointer. - Copy constructor. The copy must be a deep copy. - Destructor. - void addCourses (StudentCourse * c) which set the courses information using the received array c. - Void delete_all_courses(), that deallocate the old list and make its pointer point at the new list with the same size. - Void print_details (), that prints all details of a student including the courses and total marks using the function print inside the StudentMarks object. Driver - Create a Student object and fill its information by the user, and define the size of the courses equal to 3. - Create an array of type StudentMarks with size 3. Ask the user to enter the information of the student marks. - Add these records to the student using addCourses function. - Print all information of the student object and the courses including the total mark. - Delete all StudentMarks records using its function - Add one new StudentMark record by the user using AddCourses function. - Print all information of the student object and the courses including the total markStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started