java project and need the explanation and answer to help me learn.
Here is the list that I can choose and I chose option 3. I’m thinking we can just use ounce as unit for all ingredients then convert to gram when this method is called. Otherwise, you have to have unit for each ingredient.
Create a custom method in the Recipe class.
Choose one of the following options:
1. print out a recipe with amounts adjusted for a different number of servings
2. create an additional list or ArrayList that allow users to insert step-by-step recipe instructions
3. conversion of ingredient amounts from English to metric (or vice versa)
4. calculate select nutritional information
5. calculate recipe cost
6. propose a suitable alternative to your instructor