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

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 Databases Questions!