Inheritance-CPP How to apply concepts of class inheritance in CPP Implement the following inheritance in C++ using public inheritance. Task 1: Task 2: