Hello. Looking for some help on a project where I need to make a recipe book with the follow features:
1. add a recipe
2. list all recipes
3. display a single recipe
4. Search and return recipes with a single ingredient.
I tried below using a hashmap, for the recipe name and ingredients:
b fish wrote: . . . A hashmap may not be necessary, but I though it was easiest. Thanks! -Bill
This bit sounds worrying. It sounds as if you are trying out solutions without being sure what they are for. You can probably get it to work after 10000 guesses. Or you can decide what you want to do, and get it to work after 1 attempt.
I yam what I yam and that's all that I yam - the great philosopher Popeye. Tiny ad: