A console-based application developed in C# that provides a comprehensive interface for both customers and retailers. The application incorporates fundamental programming concepts, including functional programming, speaking assistance, CLI colors, loops, conditions, various data types, and file handling for data persistence.
-
Add New Items to the Inventory: Retailers can easily add new items to the inventory, ensuring an up-to-date and dynamic product list.
-
View Existing Items: Retailers have the ability to view the existing inventory, making it convenient to monitor available products.
-
Utilize File Handling for Data Persistence: File handling is employed to persistently store and retrieve data, ensuring that the inventory remains consistent across sessions.
-
Access the Inventory and View Items with Prices: Customers can access the inventory to view a list of items along with their corresponding prices.
-
Select Items and Add Them to the Shopping Cart: Customers can easily select items from the inventory and add them to their shopping cart for convenient and efficient shopping.
-
Receive Notification for Unavailable Items: A notification through a buzzer is triggered when customers attempt to add an item that is currently unavailable in the inventory.
-
Benefit from Speech Synthesis for Guidance: Customers receive step-by-step guidance and menu information through speech synthesis, enhancing the user experience.
-
Receipt Generation at the End of Shopping: Upon completing the shopping process, customers receive a generated receipt summarizing their selected items and the total amount.
-
Functional Programming: The project incorporates functional programming principles to enhance code readability and maintainability.
-
CLI Colors: CLI colors are utilized to provide a visually appealing and intuitive interface for both retailers and customers.
-
Loops and Conditions: Standard programming constructs such as loops and conditions are employed to create a responsive and interactive application.
-
Various Data Types: Different data types are used to represent and manipulate various aspects of the inventory and shopping cart.
-
File Handling: File handling is employed to maintain a persistent list of items available in the inventory, ensuring data integrity.
- Clone the repository to your local machine.
- Compile and run the application using a C# compiler.
- Follow the on-screen instructions for both retailer and customer interactions.
- This project has no external dependencies beyond the standard C# libraries.
Contributions are welcome! If you'd like to contribute, please follow the guidelines in the CONTRIBUTING.md file.