Question: This week you will start on an NFL Football Team Program. For starters, you will create an abstract base class called player. This will

This week you will start on an NFL Football Team Program. For 

This week you will start on an NFL Football Team Program. For starters, you will create an abstract base class called player. This will have attributes of name and playerID (number), methods getName and getPlayerID, and abstract methods getPlayerPosition, play, and toString (which returns a string with the player name, number, position, etc.) You will create subclasses (all of which extend from player) for Offense QuarterBack Wide Receiver o Tight End Running Back o Offensive Lineman Defense o Defensive Lineman o Linebacker o Defensive Back Special Teams Kicker Holder Punter Returner (Kick, Punt) Create a menu driven program that will allow the user to add players to a team (use only one data structure to hold your players). Add at least one player from each category to your order and then print out the list of players on a team (name, number, position, description, etc.). Display the number of players on the team. You will be expanding on your project in future sessions by adding an enumeration type for Offensive and Defensive Linemen, Defensive Backs, etc. C++

Step by Step Solution

3.50 Rating (147 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

To create an NFL Football Team Program in C you need to design a class hierarchy with an abstract base class for a player and several subclasses for d... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!