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 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
Get step-by-step solutions from verified subject matter experts
