using System.Text; using CoffeeVendingMachines; // using CoffeeVendingMachines; Console.OutputEncoding = Encoding.UTF8; Console.WriteLine($"*** Coffee Slot Machine ***{Environment.NewLine}"); Run(); void Run() { CoffeeVendingMachine the_machine = new CoffeeVendingMachine("1st Floor"); //best way to insert coins :) the_machine.InsertCoin(CoinType.Cent05); the_machine.InsertCoin(CoinType.Cent05); the_machine.InsertCoin(CoinType.Cent10); the_machine.InsertCoin(CoinType.Cent10); the_machine.InsertCoin(CoinType.Cent10); the_machine.InsertCoin(CoinType.Cent20); the_machine.InsertCoin(CoinType.Cent20); the_machine.InsertCoin(CoinType.Cent20); the_machine.InsertCoin(CoinType.Cent20); the_machine.InsertCoin(CoinType.Cent20); the_machine.InsertCoin(CoinType.Cent50); the_machine.InsertCoin(CoinType.Cent50); the_machine.InsertCoin(CoinType.Cent50); the_machine.InsertCoin(CoinType.Cent50); the_machine.InsertCoin(CoinType.Euro01); the_machine.InsertCoin(CoinType.Euro01); the_machine.InsertCoin(CoinType.Euro01); the_machine.InsertCoin(CoinType.Euro02); the_machine.InsertCoin(CoinType.Euro02); the_machine.InsertCoin(CoinType.Euro02); the_machine.SelectProduct("Capuccino", out CoinDepot[]? change, out int? remainder); Console.WriteLine(the_machine); }