Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

programming language : C Description: Assume that there is a binary tree where each note contains information about an individual. Right pointer leads you to

programming language : C
image text in transcribed
Description: Assume that there is a binary tree where each note contains information about an individual. Right pointer leads you to the Mother's information and the left pointer leads you to the father's information of that individual. Information in each node contains the following: Name, Surname, Date of birth, Place of Birth (only a single Word), Date of death (if passed away), Occupation (only a single Word). Task: Write a program that creates a tree such that you are at the root and the leaves lead you to your mother and father. Further down in the tree leads you to your grandparents. Try to give information to make your tree as deep as possible. Have a menu to; - insert into the tree, - search through the three (i.e finding the oldest member of the family), - list the alive from youngest to oldest, - list the family members that have passed away

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions