示例#1
0
        public string ChangeInput()
        {
            string input;


            UserInterface.RecipeMenuTitle();
            input = UserInterface.GetUserInput("To modify the recipe, type 'lemons', 'sugar', 'ice', 'price', or  'done'").ToLower();


            while (input != "price" && input != "lemons" && input != "sugar" && input != "ice" && input != "done")
            {
                input = UserInterface.RetryGetUserInput(input + " is not a valid respone, try again!").ToLower();
            }

            return(input);
        }