Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I need a C++ Code for this. Thank you This week you will start on an NFL Football Team Program. For starters, you will create
I need a C++ Code for this. Thank you
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 o QuarterBack o Wide Receiver o Tight End o Running Back o Offensive Lineman Defense o Defensive Lineman o Linebacker o Defensive Back Special Teams o Kicker o Holder o Punter o Returner (Kick, Punt) Create a menu driven program that will allow the user to adod 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 Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started