Skip to content

Commit 6d409dd

Browse files
Sync the two-fer exercise's docs with the latest data. (#108)
1 parent d77dea9 commit 6d409dd

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

exercises/practice/two-fer/.docs/instructions.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,23 @@
22

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

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

77
```text
88
One for Do-yun, one for me.
99
```
1010

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

1413
```text
1514
One for you, one for me.
1615
```
1716

1817
Here are some examples:
1918

20-
|Name |Dialogue
21-
|:-------|:------------------
22-
|Alice |One for Alice, one for me.
23-
|Bohdan |One for Bohdan, one for me.
24-
| |One for you, one for me.
25-
|Zaphod |One for Zaphod, one for me.
19+
| Name | Dialogue |
20+
| :----- | :-------------------------- |
21+
| Alice | One for Alice, one for me. |
22+
| Bohdan | One for Bohdan, one for me. |
23+
| | One for you, one for me. |
24+
| Zaphod | One for Zaphod, one for me. |

exercises/practice/two-fer/.docs/introduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ Two-for-one is a way of saying that if you buy one, you also get one for free.
55
So the phrase "two-fer" often implies a two-for-one offer.
66

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

0 commit comments

Comments
 (0)