Question: It is going to be a C++ code! This code will have to use the polymorphism. Carbon foot print is the base class and the
It is going to be a C++ code!
This code will have to use the polymorphism. Carbon foot print is the base class and the other elements will be the derived classes of the carbon foot print. Hint was to use the virtual fuction in for polymorphism puposes. I am adding more images below of as the question's expaination. Hope these make sense!









Inheritance Hierarchies-Group 1 1 Base class CarbonFootPrint CarbonFootPrint 3 Derived classes Bicycle Building Person Building Person Bicycle
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
