Write a program to control a bread maker machine. Allow the user to input the type of bread as W for White and S for Sweet. Ask the user if the loaf size is double and if the baking is manual. The following table details the time chart for the machine for each bread type. Display a statement for each step, if the loaf size is double, increase the baking time by 50 percent. If baking is manual, stop after the loaf-shaping cycle and instruct the user to remove the dough for manual baking. Use functions to display instructions to the user and to compute the baking time as follows: /* the function ComputeBakingTime returns double value based on type of bread, the baking type and the size of loaf */ double ComputeBakingTime (char Bread_Type, int isManual, int isDouble); /* the function instructions display intruction to the user */ *void instructions (double BakingTime, char BreadType) ; Table 1: Bread Time Chart Operation Primary kneading Primary rising Secondary kneading Secondary rising Loaf shaping Final rising Baking Cooling White Bread 15 mins 60 mins 18 mins 20 mins 2 seconds 75 mins 45 mins Sweet Bread 20 mins 60 mins 33 mins 30 mins 2 seconds 75 mins 35 mins 30 mins 30 mins
Write a program to control a bread maker machine. Allow the user to input the type of bread as W for White and S for Sweet. Ask the user if the loaf size is double and if the baking is manual. The following table details the time chart for the machine for each bread type. Display a statement for each step, if the loaf size is double, increase the baking time by 50 percent. If baking is manual, stop after the loaf-shaping cycle and instruct the user to remove the dough for manual baking. Use functions to display instructions to the user and to compute the baking time as follows: /* the function ComputeBakingTime returns double value based on type of bread, the baking type and the size of loaf */ double ComputeBakingTime (char Bread_Type, int isManual, int isDouble); /* the function instructions display intruction to the user */ *void instructions (double BakingTime, char BreadType) ; Table 1: Bread Time Chart Operation Primary kneading Primary rising Secondary kneading Secondary rising Loaf shaping Final rising Baking Cooling White Bread 15 mins 60 mins 18 mins 20 mins 2 seconds 75 mins 45 mins Sweet Bread 20 mins 60 mins 33 mins 30 mins 2 seconds 75 mins 35 mins 30 mins 30 mins
Question
***please use C++
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 3 steps
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.