Skip to content

Commit

Permalink
Sync the two-fer exercise's docs with the latest data.
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikSchierboom committed Mar 30, 2024
1 parent efd463e commit 34be5c2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions exercises/practice/two-fer/.docs/instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,13 @@

Your task is to determine what you will say as you give away the extra cookie.

If your friend likes cookies, and is named Do-yun, then you will say:
If you know the person's name (e.g. if they're named Do-yun), then you will say:

```text
One for Do-yun, one for me.
```

If your friend doesn't like cookies, you give the cookie to the next person in line at the bakery.
Since you don't know their name, you will say _you_ instead.
If you don't know the person's name, you will say _you_ instead.

```text
One for you, one for me.
Expand Down
2 changes: 1 addition & 1 deletion exercises/practice/two-fer/.docs/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ Two-for-one is a way of saying that if you buy one, you also get one for free.
So the phrase "two-fer" often implies a two-for-one offer.

Imagine a bakery that has a holiday offer where you can buy two cookies for the price of one ("two-fer one!").
You go for the offer and (very generously) decide to give the extra cookie to a friend.
You take the offer and (very generously) decide to give the extra cookie to someone else in the queue.

0 comments on commit 34be5c2

Please sign in to comment.