Need help with following assignment written in Ccode:
This assignment deals with binary search trees (BSTs). You’llcreate a program that lets a user enter data, and builds a BST fromthat data. Your program will also let the user interact with thatBST, using a series of commands:
- s number – this will search for “number” in the BST. Tell theuser whether that number is found or not.
- d number – search for “number” and, if found, delete it. If itis not found, tell the user.
- X – this command is used to display information about the BST.The following information should be displayed:
- pre-, in- and post-order
OR
PayPal Gateway not configured
ORPayPal Gateway not configured
- pre-, in- and post-order