Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

This needs to be done is C++ (reposting because I didn't specify that). This week you will start on an NFL Football Team Program. For

image text in transcribed

This needs to be done is C++ (reposting because I didn't specify that).

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 playerlD (number), methods getName and getPlayerlD, 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 Holde o Punter o 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. 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 playerlD (number), methods getName and getPlayerlD, 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 Holde o Punter o 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

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_2

Step: 3

blur-text-image_3

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

The Accidental Data Scientist

Authors: Amy Affelt

1st Edition

1573877077, 9781573877077

More Books

Students also viewed these Databases questions

Question

Describe Table Structures in RDMSs.

Answered: 1 week ago