Exemple #1
0
        void SelectProductMenu()
        {
            PrintAllItems();
            Console.WriteLine("\nEnter the item you would like to purchase (ex. A1): ");
            string userInput = Console.ReadLine();

            Console.WriteLine(vendingMachine.DispenseProduct(userInput));
            Console.WriteLine("Press enter to return to the Purchase Menu.");
            Console.ReadLine();
        }