Browse Source

Update romannumbers.en.md

content-update
Christopher Fremond 4 years ago committed by GitHub
parent
commit
055016d181
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 11
      subjects/romannumbers.en.md

11
subjects/romannumbers.en.md

@ -7,6 +7,17 @@ Write a program called `rn`. The objective is to convert a number, given as an a
The program should have a limit of `4000`. In case of an invalid number, for example `"hello"` or `0` the program should print `ERROR: can not convert to roman number`.
Roman Numerals reminder:
| I | 1 |
|:-:|:----:|
| V | 5 |
| X | 10 |
| L | 50 |
| C | 100 |
| D | 500 |
| M | 1000 |
I -> 1
V -> 5
X -> 10

Loading…
Cancel
Save