Question: In this question, you are required to implement a Member class for a club. Members have name, id (int), and score (float). Members can recommend

In this question, you are required to implement a Member class for a club. Members have name, id (int), and score (float). Members can recommend only one other (sibling) person for the club. Default sibling value is null. Recommendation can be done anytime not necessarily in the constructor. For any member the score is calculated as the sum of his/her score plus 10% of the score of the sibling. (think that sibling may have sibling!) Implement only the following parts of the MEMBER CLASS : 1-Class declaration and all member variables including sibling. 2 - calculateScore method
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
