Question: C + + :This exercise is on the topic of inheritance. Using the base class Entry in Question, define a derived class EntryPlus that inherits
C:This exercise is on the topic of inheritance. Using the base class Entry in Question, define a derived class EntryPlus that inherits all the fields and the member functions of Entry. In addition, EntryPlus contains the following fields: int streetNumber, string streetName, string city, string province, and string postalCode. EntryPlus also contains an additional member function, called Print which displays the fields of an EntryPlus object in the following mannerorder
Person name:
Street number:
Street name:
City:
Province :
Postal code:
Telephone:
Devise some exhaustive test cases and test that your program is correct. Please submit your test cases main file as well.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
