Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

write a C++ code to solve the program. Problem: Two players including formal pla

ID: 3539113 • Letter: W

Question

write a C++ code to solve the program.

Problem: Two players including formal playerand backup and backup player are based on a base player. you have to record and keep track of scores of each player. Use

OO Featurs

Data hiding

Encapsulation

Inhertiance

Virtual Function

Constructor and Destructor

Now a team has too many players so it has to keep track of each of them, so you have to write another c++ code to access the team object to know its team name and use a menu to access one player by player ID and record or get his score.So which of them you are going to use ? expalin your reason

Composition

Aggregation

Explanation / Answer

?