Question: Using C++ create a progam that will help users calculate quantities needed for a bread recipe. All the user needs to input is the name
Using C++ create a progam that will help users calculate quantities needed for a bread recipe. All the user needs to input is the name of the bread and how many loaves are desired. Your program does the rest. Below is a basic recipe for a light wheat loaf of bread. You must start with this. Then, based on how many loaves the user wants, you have to do the necessary calculations to figure out the new quantities for each ingredient. A note: The recipe expresses the quantities of an ingredient in what is known as bakers percentages. Bakers percentages are all based on the TOTAL amount of flour needed to make one loaf. A typical loaf for this recipe contains 500g of flour. So for example if the recipe calls for 10% sugar in the loaf, then that means 50g of sugar is needed for one loaf. Country wheat loaf recipe: Milled red winter wheat: 15% Milled white winter wheat: 15%g Milled rye:5% White Bread Flour: 65% Salt: 2% Water: 75% Sourdough starter: 20%
The output is located at the end of these instructions. The first column is 20 characters wide and the second column is 7 characters wide. Also, the program cannot end until the user presses [Enter] as shown in the last line of the screenshot. Getting the Mimir test cases correct is only PART of your grade. The rest will depend on the quality of your code. I will never remove points for things that are personal preferences. As you know, your author and I have slightly different styles. However, the proper use of constants, correct data types, and other standards of using this language will be enforced.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
