Question: C++ Write Family tree - Build a data structure to store information about father, mother and children. Note that a person can have children with
C++ Write Family tree - Build a data structure to store information about father, mother and children. Note that a person can have children with more than one person. You will then need to write a function, which takes two person and tell their relationship. The output can be one of the following: father, mother, and grandfather/mother.
The C++ program should have
1. Structure
2. Function
3. Loop
4. Array
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
