Question: Imagine you are designing a program for your bookstore to organize your orders. An order ID is assigned by the marketplace ( like amazon )

Imagine you are designing a program for your bookstore to organize your orders. An order ID is assigned by the marketplace (like amazon) as soon as the user selects the book. However, you dont get order details until the payment goes through. This means that order numbers can arrive out of sequence. Order number 5 may arrive after order number 6. Your task is to write a program to organize the data in the accompanying orders.csv file with 18 initial entries into an AVL tree based on the order number. Your program must build this on execution. Your program must ask and enable the user to do the following operations: 1. manually add a book order (new order)2. manually remove a book order (fulfill order)3. print an In-Order list of book names by order ID.(In-order traversal)4. find the name of the book for a specific order number. (search)5. find the oldest book order (next book order to fill)6. find the latest book order. (last book order to fill) Additionally, your program should print the number of

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!