// PITCHER public void SetQualityControl() { exitQualityControlMenu = false; while (!exitQualityControlMenu) { UI.DisplayQualityControl(); int userInput = Convert.ToInt32(Console.ReadLine()); switch (userInput) { case 1: UI.SetPriceOfProduct(); priceOfProduct = double.Parse(Console.ReadLine()); break; case 2: UI.SetNumberOfLemons(); lemonsForRecipe = int.Parse(Console.ReadLine()); break; case 3: UI.SetAmountOfIce(); iceForRecipe = int.Parse(Console.ReadLine()); break; case 4: UI.SetCupsOfSugar(); sugarForRecipe = int.Parse(Console.ReadLine()); break; case 5: CheckIfRecipeSet(); if (recipeIsSet) { string yesNo = UI.DisplayIfRecipeIsSet(); if (yesNo == "yes") { exitQualityControlMenu = true; } } break; default: break; } } }