question archive Write a program that prompts the user for a number, inserts it in the BST and displays the contents of the tree using inorder traversal
Subject:Computer SciencePrice: Bought3
Write a program that prompts the user for a number, inserts it in the BST and displays the contents of the tree using inorder traversal. Give the source code and the runtime screen. Use the data 50 , 30, 20, 40 , 70 , 60 , 80 to test your program. Note: 1. Change the filename to your ID, e.g. 2073105.doc 2. Upload the . doc on Google Classroom. 3. Make sure that the output screen does not have black background. 4. Poor indentation and wrong format will result in deduction of marks. Solution Data Structures and Algorithms BS(CS)-3C SZABIST-ISB