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

Discuss inheritance and polymorphism in C++.Class Programming: Given an object-based entity with specific functionality, students should be able to create an equivalent C++ class to represent it.
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.
Problem:
Add 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 add member functions to initialize access, and manipulate the new added 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”

Having Trouble Meeting Your Deadline?

Get your assignment on Discuss inheritance and polymorphism in C++.Class Programming: Given an object-based entity with specific functionality, students should be able to create an equivalent C++ class to represent it. completed on time. avoid delay and – ORDER NOW

Explanation & Answer

Our website has a team of professional writers who can help you write any of your homework. They will write your papers from scratch. We also have a team of editors just to make sure all papers are of HIGH QUALITY & PLAGIARISM FREE. To make an Order you only need to click Order Now and we will direct you to our Order Page at Litessays. Then fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.

Fill in all the assignment paper details that are required in the order form with the standard information being the page count, deadline, academic level and type of paper. It is advisable to have this information at hand so that you can quickly fill in the necessary information needed in the form for the essay writer to be immediately assigned to your writing project. Make payment for the custom essay order to enable us to assign a suitable writer to your order. Payments are made through Paypal on a secured billing page. Finally, sit back and relax.

Do you need an answer to this or any other questions?

Similar Posts