Skip to content

Commit d9173b8

Browse files
authored
Update description.md
1 parent 44cea9b commit d9173b8

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

exercises/diamond/description.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
# Description
22

3-
Your objective is to draw out a diamond using letters and spaces.
3+
Your goal is to create a diamond shape using letters and spaces.
4+
5+
You're given a letter, which represents the widest point of the diamond.
46

5-
You're given a letter which signifies the widest point of the diamond.
67
Let's look at some examples.
78

89
Diamond for letter 'A':
@@ -39,15 +40,14 @@ E E
3940
## Requirements
4041

4142
These are the full requirements:
42-
43-
- The first row contains one 'A'.
44-
- The last row contains one 'A'.
45-
- All rows, except the first and last, have exactly two identical letters.
46-
- All rows have as many trailing spaces as leading spaces (this might be 0).
47-
- The diamond is horizontally symmetric.
48-
- The diamond is vertically symmetric.
4943
- The diamond has a square shape (width equals height).
5044
- The letters form a diamond shape.
5145
- The top half has the letters in ascending order.
5246
- The bottom half has the letters in descending order.
47+
- All rows, except the first and last, have exactly two identical letters.
48+
- The first row contains one 'A'.
49+
- The last row contains one 'A'.
50+
- All rows have as many trailing spaces as leading spaces (this might be 0 spaces).
51+
- The diamond is horizontally symmetric.
52+
- The diamond is vertically symmetric.
5353
- The four corners (containing the spaces) are triangles.

0 commit comments

Comments
 (0)