Modify Pr21-3.cpp. You will also need to look at Pr21-2.cpp and look in the book. (I want you to modify Pr21-3 and not start from scratch. If you take the comments out, you will receive a zero on the assignment.)
Name the new program: LastnameF230Assign13.cpp where Lastname is your last name and F is the first initial of your first name. Ex: OgleD. Save in a file folder on your storage device.
You will need IntBinaryTree.h and IntBinaryTree.cpp, but you will not change these files and you will not turn them in.
In the main part of your program, call functions to do the following:
Insert nodes 11, 7, 8, 3, 13, 9, 24, 1, 59.
Display the tree inorder, preorder, and postorder. (See Pr21-2 for examples.)
Check your work by drawing the tree as shown above using this website: https://www.cs.usfca.edu/~galles/visualization/BST.html
In your program, search for nodes 11, 1, 7, and 27.
Display the results.
Delete node 11. Hint: use the remove function.
Display the tree inorder again.
Add 3 comments at the top of the page with your name, the class, and the date. Put each comment on a separate line.
Also, the variable and function names must be descriptive. Your output must also be descriptive.
- Use the internet to investigate Russian and American cooperative involvement with the International Space Station. What have both countries contr
- Name and describe at least two non-traditional healing systems Discuss the interface between religion and mental health Religion, Healing and
- Watch and annotate the videos of one peer as assigned by your instructor on InTASC Standards 1, 2, and 3 of the Clinical Practice Rubric. * Use t
- Discuss some of the elements in women?s approach to power, negotiation, and risk-taking that may lead to them earning less than men in similar jo
- Explain how your organizational design and culture could be implemented at your workplace or organization. Explain how your design will improve
- You need to develop a specific activity that is for the vignette that you chose. You also have to list all the rules, all the consequences, and all the materia
- The student will provide a description of the administration, logistics, and planning for a sport ministry project of the student?s choice. The portfolio must
- For this assignment, you have just been hired as the new Head Coach (of your particular sport) at Amos University! First…Your Bad News You have inherited a t
- The CEO of your organization wants to improve employee morale. Recently, she went to a conference at which she heard people talking about ?open-book management
- Maya has just been hired as the chief executive officer (CEO) to turn around Phoenix Solutions, a once-thriving tech company now struggling with declining reve
