Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need help making a C++ program for object oriented programming fulfilling these requirements. Please read both the screenshots I've included as they have all

I need help making a C++ program for object oriented programming fulfilling these requirements. Please read both the screenshots I've included as they have all the requirements for the project. Can you please separate the code requirements into a header file, source file, and main file based on need.

NOTE 1: Your program needs to include all the concepts (inheritance, composition, operator overloading, polymorphism, working with files, and exception handling).

NOTE 2: You may need to add more data members and member functions to the classes than those listed above.

image text in transcribed

image text in transcribed

For this assignment, you are developing a student registration system, For this system, you need to include the following classes a) Person: For this class add the required data members (e.g., name, dob, ssn, etc.), member functions, and operators b) Date: For this class add the required data members (e.g., day month, and year), member functions, and operators. The dob data member in the Person class is of type Date c) Professor: Inherited from Person. For this class add data members (e.g., office, numberOfCourses, employmentStatus etc.), member functions, and operators. d) Student: Inherited from Person. For this class add the required data members (e.g., major, department, etc.), member functions (e.g., agreeToTeach, numberCourses), and operators. e) Course: Include all the required data members (eg, courseNo. courseName, credits), member functions (e.g., scheduleSection, addPrerequisite, hasPrerequisite), and operators. This class needs to have a member function that shows the list of the courses in your system. The information of the courses needs to be stored in a file named, "Courses.txt f) Section: Inherited from Course. Include all required data members (e.g., sectionNo, dayOfWeek, timeOfDay, room seatingCapacity) member functions (e.g., enroll drop confirmSeatAvailability), and operators

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

Students also viewed these Databases questions