C++ Level 2 – Assignment 11: Inheritance
Create a class called Number that is derived from string. Youwill use this as a base class to derive your Integer and Doubleclasses.
This means that your current data sections within the Integerand Double classes will go away. Because Number is derived fromstring and Integer and Double are derived from Number they allbecome strings. This gives you a built in data section.
You are going to have to make some fundamental changes to yourclasses to make this work because you are currently using theprimitives double and int as the data section within yourclass.
At this point your
PayPal Gateway not configured
PayPal Gateway not configured