updated Roman-to-Decimal App

pull/23/head
Florin Pop 7 years ago
parent 52af8483b7
commit 33ff54dd51

@ -8,31 +8,26 @@ The numeric system represented by Roman numerals originated in ancient Rome and
usual way of writing numbers throughout Europe well into the Late Middle Ages. usual way of writing numbers throughout Europe well into the Late Middle Ages.
Roman numerals, as used today, employ seven symbols, each with a fixed integer value. Roman numerals, as used today, employ seven symbols, each with a fixed integer value.
See the below table with *Symbol - Value* See the below table with _Symbol - Value_
I - 1 - I - 1
V - 5 - V - 5
X - 10 - X - 10
L - 50 - L - 50
C - 100 - C - 100
D - 500 - D - 500
M - 1000 - M - 1000
This challenge requires that the developer implementing it follow these
constraints:
- Maximum decimal number that can be converted to Roman Numerals is within the range of 1 to 3999
## User Stories ## User Stories
- [ ] User should enter one Roman number in an input field - [ ] User should be able to enter one Roman number in an input field
- [ ] The calculation must be done as the user type - [ ] User could see the results in a single output field containing the decimal (base 10) equivalent of the the roman number that was entered by pressing a button
- [ ] User views the results in a single output field containing the - [ ] If a wrong symbol is entered, the User should see an error
decimal (base 10) equivalent of the the roman number that was entered.
## Bonus features ## Bonus features
- [ ] As a user I would like to be able to convert from decimal to Roman - [ ] User could see the conversion to be made automatically as I type
- [ ] User should be able to convert from decimal to Roman (vice-versa)
## Trello Board ## Trello Board
@ -40,7 +35,7 @@ pending...
## Useful links and resources ## Useful links and resources
[An explanation of Roman Numbers](https://en.wikipedia.org/wiki/Roman_numerals) - [An explanation of Roman Numbers](https://en.wikipedia.org/wiki/Roman_numerals)
## Example projects ## Example projects

Loading…
Cancel
Save