Skip to content

Commit 45b5ad6

Browse files
authored
Merge pull request #393 from petertseng/readme
Regenerate READMEs from problem-specifications commits
2 parents 8a0ac5b + 33f55dd commit 45b5ad6

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

exercises/beer-song/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Beer Song
22

3-
Produce the lyrics to that beloved classic, that field-trip favorite: 99 Bottles of Beer on the Wall.
3+
Recite the lyrics to that beloved classic, that field-trip favorite: 99 Bottles of Beer on the Wall.
44

55
Note that not all verses are identical.
66

exercises/proverb/README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
For want of a horseshoe nail, a kingdom was lost, or so the saying goes.
44

5-
Output the full text of this proverbial rhyme:
5+
Given a list of inputs, generate the relevant proverb. For example, given the list `["nail", "shoe", "horse", "rider", "message", "battle", "kingdom"]`, you will output the full text of this proverbial rhyme:
66

77
```text
88
For want of a nail the shoe was lost.
@@ -11,8 +11,11 @@ For want of a horse the rider was lost.
1111
For want of a rider the message was lost.
1212
For want of a message the battle was lost.
1313
For want of a battle the kingdom was lost.
14-
And all for the want of a horseshoe nail.
14+
And all for the want of a nail.
1515
```
16+
17+
Note that the list of inputs may vary; your solution should be able to handle lists of arbitrary length and content. No line of the output text should be a static, unchanging string; all should vary according to the input given.
18+
1619
## Rust Installation
1720

1821
Refer to the [exercism help page][help-page] for Rust installation and learning

exercises/sum-of-multiples/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Sum Of Multiples
22

3-
Given a number, find the sum of all the multiples of particular numbers up to
3+
Given a number, find the sum of all the unique multiples of particular numbers up to
44
but not including that number.
55

6-
If we list all the natural numbers up to but not including 20 that are
7-
multiples of either 3 or 5, we get 3, 5, 6 and 9, 10, 12, 15, and 18.
6+
If we list all the natural numbers below 20 that are multiples of 3 or 5,
7+
we get 3, 5, 6, 9, 10, 12, 15, and 18.
88

99
The sum of these multiples is 78.
1010

0 commit comments

Comments
 (0)