Inventory Management Program
Overview: TechTarget is a console-based inventory management program designed for managing a grocery list. Users can add, remove, display, and sort items in their cart, each represented as instances of the DataClass.
Features:
- Display Cart: View all items currently in the grocery list.
- Add Item: Enter details for new items (name, price, and category) and add them to the cart.
- Remove Item: Remove specified items from the grocery list by their index.
- Sort Items: Sort the items in the cart based on price in either ascending or descending order.
- Checkout: Exit the program after displaying a thank-you message.