202k views
2 votes
Define the method object inc_num_kids() for personinfo. inc_num_kids increments the member data num_kids. sample output for the given program: kids: 0 new baby, kids now: 1

1 Answer

1 vote
The sample output for a given program could be starting with the parent: Self()_Spouce()_child()_child()_for a given year in a timeline. The line after could be the next or previous year which can easily be reversed with software programming.
User Yurii Kramarenko
by
7.5k points