Question: Plesse write c++ code, pseudo code and test cases: Ingredients Amounts cups sugar .5 cups dark brown sugar .75 tespoons salt 1 cups refined coconut

Plesse write c++ code, pseudo code and test cases:

Plesse write c++ code, pseudo code and test cases: Ingredients Amounts cups

sugar .5 cups dark brown sugar .75 tespoons salt 1 cups refined

Ingredients Amounts cups sugar .5 cups dark brown sugar .75 tespoons salt 1 cups refined coconut oil, melted .5 cups non-dairy milk .25 teaspoon vanilla extract 1 cups flour 1.5 teaspoon baking soda .5 oz vegan semi-sweet chocolate, chunks 4 oz vegan dark chocolate, chunks 4 minutes of confusion 30 minutes in the oven 14 minutes contemplating wheather to bake cookies 22 minutes to taste cookie dough 5 About - The file contains a list ingredients to bake vegan cookies and their amounts. The first text in the file is a string header. Each remaining text item is alternating between an ingredient and a numeric quantity of the ingredient. For example line 2 : cups sugar and line3: .5. As you work through the problem state any assumptions. File reading - read the data in. Store header in a string variable (will not be used) and rest of the data into a container of structs with ingredient and quantity required of that ingredient. Process/Calculations: - Add additional value in the struct with ingredients for double the recipe -- doubledQuantity (however, make sure you do not double the minutes) - Calculate the total time to it will take make the cookies and print out the result. Also, print out a shopping list. Creative component (if time permits) - create one cin and one cout for this problem. Make sure your code uses the cin

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!