Question: i need a code in python that will give me this output please help, You have proposed to develop a new program that will determine

i need a code in python that will give me this output please help,
i need a code in python that will give me this output
please help, You have proposed to develop a new program that will
determine whether or not the bakery can fill a new order request

You have proposed to develop a new program that will determine whether or not the bakery can fill a new order request so that they don't need to spend time crunching the numbers themselves. They have given you their recipe, which yields 48 cupcakes (and frosting!), and the size of each ingredient's inventory unit. You have determined that the inputs you need for the program to make an accurate decision are: The total number of nests already on order The number of nests in the requested order The current inventory on hand of each ingredient They are very excited about the program since it will replace a lot of conversions they would need to figure out manually otherwise. They are requesting that you make the program easily adaptable in case they update their recipe or start ordering larger units of the ingredients. Ingredient Recipe Quantity Inventory Unit flour 5 cups 25 lb bag sugar 3 cups 30 lb bag powdered sugar 16 cups 20 lb bag butter 6 cups 36 lb box eggs 9 ea 1 flat milk 3 cups 1 gallon There are 2 cups in a pound, 30 eggs in a flat, 16 cups in a gallon, and 6 cupcakes in a nest. Based on the total number of cupcakes they would need to produce, figure out if there is enough inventory on hand to meet the new order request in addition to the current orders. You should only approve adding the new order if the ingredients on hand can make the total number of batches needed - there will be no dividing of the recipe. To make things simple, the inventory on hand will only be reported for unopened units. Sample Run #1 New Order Analyzer - Number of nests on order: Number of nests desired: 14 2 NP Flour on hand: Sugar on hand: Powdered sugar on hand: Butter on hand: Eggs on hand: Milk on hand: 2 3 7 4 1 3 The order can be filled. (Inputs are: 14, 2, 2, 3, 7, 4, 1, 3) Sample Run #3 New Order Analyzer Number of nests on order: Number of nests desired: NP 113 22 Flour on hand: Sugar on hand: Powdered sugar on hand: Butter on hand: Eggs on hand: Milk on hand: N O 3 3 6 2 5 3 The order cannot be filled at this time. (Inputs are: 113, 22, 3, 3, 6, 2, 5, 3)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!