Question: c++ please! Inheritance and composition class person f string firstName; string lastName; date DOB; public: person(string f, string l, date &bday):DOB(bday) firstName f lastName ;

 c++ please! Inheritance and composition class person f string firstName; string

c++ please!

Inheritance and composition class person f string firstName; string lastName; date DOB; public: person(string f, string l, date &bday):DOB(bday) firstName f lastName ; class datef int day; int month; int year; 1. Define a constructor for date 2. Define a constructor for person 3. Create a class student that inherits from person. Define its constructor

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!