Aristocrat interview question

Write code to convert Roman numbers to decimal