Exemplo n.º 1
0
        public void RecipeDecision()
        {
            Console.WriteLine("If you would like to use the standard recipe that has already been set, type 'computer recipe'. You may want to use this option if you are just starting out. If you want to make your own recipe, please enter 'hell yes'.\n");
            string userInput = Console.ReadLine();

            switch (userInput)
            {
            case "computer recipe":
                recipe.ComputerRecipe();
                break;

            case "hell yes":
                recipe.MakeLemonade();
                break;

            default:
                Console.WriteLine("Please enter 'computer recipe' to utilize our pre-made lemonade recipe or 'hell yes' to create your own!\n");
                RecipeDecision();
                break;
            }
        }