Question: I need answer for following C++ que. Design and code a class named Team in the namespace projects that represents a team working on a

I need answer for following C++ que.

I need answer for following C++ que. Design and code a class

Design and code a class named Team in the namespace projects that represents a team working on a project. The class should have: Attributes - a statically-allocated array of characters of size 1024 containing the names of team members (separated by semicolon ';' ). Valid Name: any array of char- acters that contains two words separated by a single space. 0 a floating-point number in single precision containing the total man-hours the team has worked on a project (e.g., assuming John Smith has worked for 6 hours and Jane Doe has worked for 7.4 hours on the project, the total man- hours this team of 2 people has worked is 13.4). Public members 0 a default constructor - a custom constructor that receives as parameter an array of characters contain- ing the name of a single member. If the parameter is valid, store it into the attribute. - a query that returns the average man-hours a member of the team has worked. 0 a modier that receives as parameter the name of a new team member and adds it to the list of names (make sure to also add '; ' ) only if the name is valid and not already in the list. 0 a destructor that prints the list of names to the screen. You are allowed to add as many private members as your design requires

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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!