Write a C++ program to implement a menu-driven program for managing a software store using binary search trees. When the program starts, all information about the software packages should be stored in a file named software . The information includes the code, name, version, and price of each software package. Each field will be on a separate line. When the program starts, it should automatically create a binary search tree with one node corresponding to one software package, and it should include the code of the package. The program should allow the file and the tree to be updated when a new software package arrives to the store and when some packages are sold. Consider the following: New packages should be inserted to the tree and at the end of the file. Sold packages should be deleted from the file and from the tree. Test your program using the following example: Start with the following content in the file software: 12 Photoshop CS5 500 22 Office 2010 150 34 Visual Studio 2010 600 Add the following item to the file and tree: 15 Norton Security 2014 50 Delete software package with code (2) from the file and the tree.

Looking for solution of this Assignment?

WHY CHOOSE US?

We deliver quality original papers

Our experts write quality original papers using academic databases.We dont use AI in our work. We refund your money if AI is detected  

Free revisions

We offer our clients multiple free revisions just to ensure you get what you want.

Discounted prices

All our prices are discounted which makes it affordable to you. Use code FIRST15 to get your discount

100% originality

We deliver papers that are written from scratch to deliver 100% originality. Our papers are free from plagiarism and NO similarity.We have ZERO TOLERANCE TO USE OF AI

On-time delivery

We will deliver your paper on time even on short notice or  short deadline, overnight essay or even an urgent essay