c coding challenge define the classes that implement the following hierarchy with ma 5150039
C++
CODING CHALLENGE
Define the classes that implement the following hierarchy with Manager and Scientist each inheriting from both Employee and Student.
Employee Student
△ △
| |
| |
+——— Manager ———-+
| |
| |
+———Scientist ———+
C++
Define the classes that implement the following class hierarchy. Use the keyword virtual to insure your classes do not suffer from the diamond problem.
+———▷ BaseClass ◁ ———+
| |
| |
DerivedClass1 DerivedClass2
△ △
| |
| |
+—– DerivedFurtherClass1 ——+
| |
| |
+—– DerivedFurtherClass2 ——+