Vending-Machine-CSharp
Vending-Machine-CSharp is a console-based vending machine simulator developed in C using object-oriented programming principles. This educational tool allows users to interact with a virtual machine to purchase products such as beverages and snacks, manage inventory, and handle various payment methods. Key features include a user-friendly interface for selecting products by ID, viewing detailed product information including availability and pricing, and executing transactions via cash or card. The cash payment flow requires users to insert coins sequentially until the amount is met, while card payments simulate entering card details. The application supports administrative functions protected by a secret key, enabling the re-stocking of existing items, adding new product types, or performing bulk loads via external files. Users can cancel operations at any time and access a main menu to navigate between purchasing, information lookup, and admin tasks. Designed as a comprehensive practice project, it demonstra