Question: Code 1 #include #include using namespace std; struct Player { string name; string nationality; int caps; string position; double fee; }; int main() { Player
Code 1 #include #include using namespace std; struct Player { string name; string nationality; int caps; string position; double fee; }; int main() { Player LeicesterCity; Player England; cout > LeicesterCity.caps; cout > LeicesterCity.fee; cout > England.caps; cout Using the code in Task 2 Program Code.pdf above complete the following tasks:
2.1. Identify the nimber of class in the code.
2.2 Identify the member variables and their associated data type for each class.
2.3 With the code draw a class hierarchy diagram of the code in Task 2 Program Code showing the inheritance chain like the image below:



Vehicles Wheeled Air Sea Car Bus Bike Glider Jet Sail Boat Dingy3 5 3 4 6 3 5\f
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
