Question: it is from c++.please use visual studio 2017 Assignment Task 2 30 points Write a program to help Wayne State football team to keep track
it is from c++.please use visual studio 2017



Assignment Task 2 30 points Write a program to help Wayne State football team to keep track of its players' performance. The fle that prints out the player's stats is already coded. You are given a class for a player; however, a football team is composed of offensive and defensive players. So you need to build on the player class. It is rare that a player is both, so assume the team has exclusively offensive and defensive players. All players have a name, number and they all play for some number of minutes. However, a defensive player is measured by the number of tackles they get, while an offensive player is measured by the number of yards they get. For this assignment you need to create 2 classes that inherit from a class player that has already been coded. The player class makes no calculations; it just holds data of each player. Your class will be used by the main function in main.cpp to print the team's stats, so it must follow the guidelines below You may not change the files given in any way. Download the Football project here: and unzip it. Football VS project.zip It does not compile because it misses some classes. The project needs 4 files added: defense.h, defense.cpp, offense.h, offense.cpp (10 points). There are also a few questions that must be answered (20 points). Note the main.cpp, player.h and player.cpp files must not be changed in any way. 10 points will be deducted if any of them has been modified. The added files should be formatted similarly to the Player class files. The classes need to have the following, and you must decide the return types, visibility and any additional modifiers for these methods defense class fields: int tackles; defense class methods
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
