I'm trying to set multiple islands that will each have a different population and for each person on an island, I need to be able to see their status.
For example, the user can say they want 5 islands with 30, 40, 50, 60, and 70 people for these islands. I must be able to go into each island and change a person's status. If anyone can help, that would be wonderful. I understand that the population number should not be in the person class.
Similar to how you have the cin statement for prompting the user "How many islands", you could ask the user "Do you want to modify this island" when you traverse the list. The user can answer yes, and if the user answers yes, have them type the new population number, and save it into the population variable for that Island.