Skip to content

Commit

Permalink
Update instructions.md
Browse files Browse the repository at this point in the history
The instructions of Task 3 have been clarified.
  • Loading branch information
fabiodinatale committed Mar 29, 2024
1 parent 17fc5b6 commit 258e028
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions exercises/concept/lasagna-master/.docs/instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,7 @@ It was amazing and had something special to it.
The friend sent you the list of ingredients and told you the last item on the list is the "secret ingredient" that made the meal so special.
Now you want to add that secret ingredient to your recipe as well.

Write a function `addSecretIngredient` that accepts two `string` vectors of ingredients as parameters.
The first parameter is the list your friend sent you, the second is the ingredient list of your own recipe.
Write a function `addSecretIngredient` that accepts a reference to a `string` of vectors representing the ingredient list of your own recipe and a `string` of vectors that is the list your friend sent you.
The last element in your ingredient list is always `"?"`.
The function should replace it with the last item from your friends list.
**Note:** `addSecretIngredient` does not return anything - you should modify the list of your ingredients directly.
Expand Down

0 comments on commit 258e028

Please sign in to comment.