Discuss inheritance and polymorphism in C++. | Quick Homework Help

Goal
In this assignment students will practice inheritance and polymorphism in C++.

Objectives
Class Programming: Given an object-based entity with specific functionality, students should be able to create an equivalent C++ class to represent it.

Don't use plagiarized sources. Get Your Custom Essay on
Discuss inheritance and polymorphism in C++. | Quick Homework Help
Get an essay WRITTEN FOR YOU, Plagiarism free, and by an EXPERT!
Order Essay

Problem:
AID to class patientType the date when the patient was admitted in the hospital, and the date when the patient was discharged from the hospital (Use the class Date class you wrote in the prelab) to store admit date, discharge date. Modify constructors and aID member functions to initialize access, and manipulate the new aIDed data members.
In main(), create a vector of pointers to type TeamPerson. Fill it up with at least three objects. One of TeamPerson, one of doctorType and one of patientType.
Print all the data of the three objects of the vector. Make sure each object is printed according to its print function.
Rubric
Total: 18 pts
Question 1: 8 pts
Question 2: 5 pts
Question 3: 5 pts

Please follow the program documentation and submission guidelines to earn full credit.

Submission
ZIP YOUR PROJECT (.sln included) in a folder, call it “Lab9” and upload it on Canvas under “Lab 9”. Make sure that your submission was successful. You can upload as many times as you like on Canvas, however only the second submission will be graded. Make sure to read the syllabus for more details about labs submission and late submission.
Honor code
“I pledge on my honor that I have not given or received any unauthorized assistance on this assignment/examination”

superadmin

Recent Posts

What is the easy difination of science | Quick Solution

Science is the pursuit and application of knowledge and understanding of the natural and social…

3 years ago

definition, values, meaning of such values and type of goods with such elasticity value …….. | Quick Solution

Clearly stating the definition, the values, the meaning of such values and the type of…

3 years ago

Acct 422 – Nora D | Quick Solution

All answered must be typed using Times New Roman (size 12, double-spaced) font. No pictures…

3 years ago

Acct 322 – Nora D | Quick Solution

All answered must be typed using Times New Roman (size 12, double-spaced) font. No pictures…

3 years ago

Macro Economics Question | Quick Solution

https://www.npr.org/sections/ed/2018/04/25/605092520/high-paying-trade-jobs-sit-empty-while-high-school-grads-line-up-for-university Click on the link above. Read the entire link and answer the questions below…

3 years ago

MGT 322 – Nora D | Quick Solution

All answered must be typed using Times New Roman (size 12, double-spaced) font. No pictures…

3 years ago