In this program, you will implement a simple inheritance relation between office items. We have the parent class “Item” and three child classes: “Pen”, “Folder”, and “Paper”. You will implement these 4 classes. Details of each class is given below: Class: Item Int ID Int Type Int Price String Name Item(…) virtual void
In this program, you will implement a simple inheritance relation between office items. We have the parent class “Item” and three child classes: “Pen”, “Folder”, and “Paper”. You will implement these 4 classes. Details of each class is given below: Class: Item Int ID Int Type Int Price String Name Item(…) virtual void print() float […]