Roman numerals

Translate Roman numbers into Arabic number (https://en.wikipedia.org/wiki/Roman_numerals)

IN

CCLXXXIII

OUT

283

IN

MMMCMXCIX

OUT

3999

IN

I

OUT

1

IN

III

OUT

3

IN

VIII

OUT

8

IN

XL

OUT

40

IN

LX

OUT

60

IN

LXII

OUT

62

IN

CC

OUT

200

IN

CD

OUT

400

IN

MCMLXXXVIII

OUT

1988


Leave a comment

Parsed as Markdown

Login to leave a comment