We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
line-up
1 parent a3914ad commit 42dbf46Copy full SHA for 42dbf46
exercises/line-up/instructions.md
@@ -5,9 +5,9 @@ Yaʻqūb expects to use numbers from 1 up to 999.
5
6
Rules:
7
8
-- Numbers ending in 1 (except for 11) → `"st"`
9
-- Numbers ending in 2 (except for 12) → `"nd"`
10
-- Numbers ending in 3 (except for 13) → `"rd"`
+- Numbers ending in 1 (unless ending in 11) → `"st"`
+- Numbers ending in 2 (unless ending in 12) → `"nd"`
+- Numbers ending in 3 (unless ending in 13) → `"rd"`
11
- All other numbers → `"th"`
12
13
Examples:
0 commit comments