Answered step by step
Verified Expert Solution
Link Copied!

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
image text in transcribed
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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Concepts of Database Management

Authors: Philip J. Pratt, Joseph J. Adamski

7th edition

978-1111825911, 1111825912, 978-1133684374, 1133684378, 978-111182591

More Books

Students also viewed these Databases questions

Question

What is meant by planning or define planning?

Answered: 1 week ago

Question

Define span of management or define span of control ?

Answered: 1 week ago

Question

What is meant by formal organisation ?

Answered: 1 week ago