Open
Description
Aim
It will help convert roman numerals to decimals.
Details
- Work your way through the string of Roman numerals from left to right, examining two adjacent characters at a time.
- If the value on the left is higher than the value on the right, then subtract the count at that position from the final value. Otherwise, just add it.
- Once the process is complete, the final value is the decimal value equivalent of the roman number.