Skip to content

Commit f906765

Browse files
authored
[roman-numerals] Tidy up grammer and formatting. (#2368)
[roman-numerals] Tidy up grammer and formatting.
1 parent 524e2b3 commit f906765

File tree

1 file changed

+15
-9
lines changed

1 file changed

+15
-9
lines changed

exercises/roman-numerals/description.md

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ One thing they never discovered though was the number zero.
99
This made writing and dating extensive histories of their exploits slightly more challenging, but the system of numbers they came up with is still in use today.
1010
For example the BBC uses Roman numerals to date their programs.
1111

12-
The Romans wrote numbers using letters - I, V, X, L, C, D, M.
13-
(notice these letters have lots of straight lines and are hence easy to hack into stone tablets).
12+
The Romans wrote numbers using letters - I, V, X, L, C, D, M; notice these letters have lots of straight lines and are hence easy to hack into stone tablets.
1413

1514
```text
1615
1 => I
@@ -19,22 +18,29 @@ The Romans wrote numbers using letters - I, V, X, L, C, D, M.
1918
```
2019

2120
The maximum number supported by this notation is 3,999.
22-
(The Romans themselves didn't tend to go any higher)
2321

24-
Wikipedia says: Modern Roman numerals ... are written by expressing each digit separately starting with the left most digit and skipping any digit with a value of zero.
22+
Wikipedia says: Modern Roman numerals [...] are written by expressing each digit separately starting with the left most digit and skipping any digit with a value of zero.
2523

2624
To see this in practice, consider the example of 1990.
2725

2826
In Roman numerals 1990 is MCMXC:
2927

30-
1000=M
31-
900=CM
32-
90=XC
28+
```text
29+
1000 => M
30+
900 => CM
31+
+ 90 => XC
32+
----- => -----
33+
1990 => MCMXC
34+
```
3335

3436
2008 is written as MMVIII:
3537

36-
2000=MM
37-
8=VIII
38+
```text
39+
2000 => MM
40+
+ 8 => VIII
41+
----- => ------
42+
2008 => MMVIII
43+
```
3844

3945
Learn more about [Roman numerals on Wikipedia][roman-numerals].
4046

0 commit comments

Comments
 (0)