Roman Numeral conversion

Take a roman numeral(<1000 in value) and print its corresponding value in the decimal system of numbers.

Unsolved

Instructions

Your input variable will contain a roman numeral less than 1000 in value. Print the corresponding value of the roman numeral in the decimal system of numbers.

Inputs

value1
The roman numeral

Sample Test Cases

Small Roman Numeral
value1 VI
output 6
Large Roman Numeral
value1 CDVII
output 407

Test Results

Login/Register

At the moment only Discord login is supported.

Login with Discord