Suppose you are asked to develop a program that creates and


Exercise 3

Suppose you are asked to develop a program that creates and develops thepedigree of a family. Asked to define the main structures (structures or classes) thatwill organize and manage the genealogical tree so that the program be able to answer at least the following issues.

For a random person's genealogical tree to return:
1. What is called the grandfather of his father's side
2. How many grandchildren have the same name
3. How many older sisters has
4. How many half-siblings (boys or girls) have. Called half-siblings who have onlyone from the same two parents

After defining the main structures of organization and management of genealogicaltree write routines that give answers to these questions.

Solution Preview :

Prepared by a verified Expert
Data Structure & Algorithms: Suppose you are asked to develop a program that creates and
Reference No:- TGS01488351

Now Priced at $10 (50% Discount)

Recommended (99%)

Rated (4.3/5)