Question
I need help to design a program in c++ code. ***************** code in c++ ********************* Q: You can design and implement a family tree system
I need help to design a program in c++ code.
***************** code in c++ *********************
Q: You can design and implement a family tree system . Depending on how sophisticated, robust and scalable your system. The query system which should include at least the following functions.
Function Name | Description |
isFather(string name1, string name2) | Check if name1 is the father of name2. If true, returns True. Otherwise, returns False. |
listChildren() |
|
listBrothers() |
|
ListDescendent(string name1) | List all descendent of name1. |
displayPersonalInfo(string name1) | Display the personal information of name1. The information should at least include name, SSN, address and phone number. |
These functions are called from main(). The output must be friendly and readable. I wont be able to read your code and give you the points if the output is displayed properly.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started