Question: Program in C++ - full solutions only: both classes and driver file CODE IN C++ - All instructions are included.. both class files and main
Program in C++ - full solutions only: both classes and driver file



CODE IN C++ - All instructions are included.. both class files and main file needed.
please implement a shopping list that uses a linked list to store the information. The program should have a menu for the user to enter items into the list. It should store the item information into ist nodes and chain them together to form a linked list. For each item, please store the item number and the item name. For example: Item No Item Name Pizza Juice Bread 7 Implement a class LinkedList as prototyped below (header files don't have to be exactly the same as below, but they should support the same functionality). The main program should provide the user with the following options: . Add a new node at the beginning 2. Add a new node at the end 3. Remove the beginning node 4. Remove the end node 5. Remove a node from the list by entering an item number (If the item cannot be found, the program should display "Item Not Found".) 6. Remove a node from the list by entering an item name (If the item cannot be found, the program should display "Item Not Found".) . Print out the list 8. Quit the program Please print out the list after each operation. Make sure you use a linked list for the storage of the items. All of the operations should be done with the use of the linked list. You don't need to consider the duplication this time. You may implement the classes as follows: please implement a shopping list that uses a linked list to store the information. The program should have a menu for the user to enter items into the list. It should store the item information into ist nodes and chain them together to form a linked list. For each item, please store the item number and the item name. For example: Item No Item Name Pizza Juice Bread 7 Implement a class LinkedList as prototyped below (header files don't have to be exactly the same as below, but they should support the same functionality). The main program should provide the user with the following options: . Add a new node at the beginning 2. Add a new node at the end 3. Remove the beginning node 4. Remove the end node 5. Remove a node from the list by entering an item number (If the item cannot be found, the program should display "Item Not Found".) 6. Remove a node from the list by entering an item name (If the item cannot be found, the program should display "Item Not Found".) . Print out the list 8. Quit the program Please print out the list after each operation. Make sure you use a linked list for the storage of the items. All of the operations should be done with the use of the linked list. You don't need to consider the duplication this time. You may implement the classes as follows
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
