Question: struct Recipe { string recipeName, recipeIngredients [ 5 ] ; int quanity [ 5 ] ; bool tasteGood; } ;Change your struct declaration to a
struct Recipe string recipeName, recipeIngredients; int quanity; bool tasteGood; ;Change your struct declaration to a class declaration by making the struct members become the class data members. Add a constructor, set functions, get functions and a display function. You only need to write the class declaration you do not need to actually implement any of the functions.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
