Skip to content

Commit df857cd

Browse files
atktasxatzial
andauthored
Update exercises/jigsaw-puzzle/instructions.md
Co-authored-by: Anastasios Chatzialexiou <[email protected]>
1 parent 1d7cba7 commit df857cd

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

exercises/jigsaw-puzzle/instructions.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ The full information about the jigsaw puzzle contains the following parts:
1414
- `aspectRatio`: Aspect ratio of columns to rows
1515
- `format`: Puzzle format, which can be `portrait`, `square`, or `landscape`
1616

17-
For the sake of the exercise, you may assume square pieces, so that the format can be derived from the aspect ratio.
17+
For this exercise, you may assume square pieces, so that the format can be derived from the aspect ratio:
1818

19-
If it is lower than one, it is portrait, if exactly one, it is square and larger than one is landscape.
19+
- If the aspect ratio is less than 1, it's `portrait`
20+
- If it is equal to 1, it's `square`
21+
- If it is greater than 1, it's `landscape`

0 commit comments

Comments
 (0)