public static int OrderPastry() { Console.WriteLine("".PadLeft(4) + "Please enter a quantity of pastries you would like to purchase:"); string stringPastryQuantity = Console.ReadLine(); int pastryQuantity = ValidateInputQuantity(stringPastryQuantity); if (pastryQuantity > 0) { Pastry pastryOrder = new Pastry(pastryQuantity); pastryOrder.ApplyDealsToSingleOrder(); return(pastryOrder.Price); } else { return(0); } }