In this assignment you are given a class representing a street address calledAddresswhich is used to describe the location of newspaper subscribers. You are required to create an abstract class calledNewsPaperSubscriber, and create three child classes that are derived from it.The three child classes represent three types of newspaper’s subscribers: weekly subscribers receiving the newspaper daily, weekdays subscribers receiving the newspaper everyday except on weekends, and weekend subscribers receiving the newspaper on weekends only. The three child classes are calledWeeklySubscriber,WeekdaysSubscriber, andWeekendSubscriber, respectively. The class definitions are as follows:
Note: Each child class must implement the parent’s abstract methods. See the given examples for the format of displayed information of a subscriber.
Implement each class in a separate header file that carries the class’s name, such as: “NewsPaperSubscriber.h”, “WeeklySubscriber.h”, etc.
must run code on provide tool. video navigate you where to run code.
for my canvas user id uscid - pp222, password- Princep411$
must read all attachment. get scored 5 out of 5 please
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here