Question: Bake Function Name: bake() Parameters: N/A Returns: None Description: To make some extra money this semester, you decide to start a baking service. You can
Bake Function Name: bake() Parameters: N/A Returns: None Description: To make some extra money this semester, you decide to start a baking service. You can make cakes in 100 minutes, cupcakes in 70 minutes, and cookies in 45 minutes. Write a function that asks the user how many cakes, cupcakes, and cookies they want you to make that day. Print a response with how much time it will take to make their order in hours and minutes. You may assume all inputs will be integers. >>> bake) How many cakes do you want? 2 How many cupcakes do you want? 5 How many cookies do you want? 4 It will take 12 hours and 10 minutes to make 2 cakes, 5 cupcakes, and 4 cookies. >>> bake() How many cakes do you want? 1 How many cupcakes do you want? 3 How many cookies do you want? 12 It will take 14 hours and 10 minutes to make 1 cakes, 3 cupcakes, and 12 cookies. Cake Volume Function Name: cakeVolume() Parameters: N/A Returns: None Description: Your customers often request cakes of different sizes, so you calculate the vol- ume of each cake you make. Write a function that asks the user what the radius and height of the cake is, and then calculate the volume of the cake with the given dimensions. Print the volume of the cake. The inputs can be floats. Round your answer to two decimal points. Note: Use 3.14 as the value for pl. Note: The volume of a cylinder is v = (pl) (-2)(h), where ris radius and his height >>> cakevolume) What is the radius of the cake? 3 What is the height of the cake? 4 The volume of the cake is 113.04
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
