GeoCitesSites.com

Problem # 10 : Roman to Indo-Arabic

Write a function INDARA(A$) which returns the value of string A$ (a Roman number) in Indo-Arabic numerals.
Note: I=1 V=5 X=10 L=50 C=100 D=500 M=1000

Sample Output
INDARA("MCMXCVIII") returns 1998
INDARA("MCM") returns 1900


Previous Problem
Return to problems at The Vault
(Back to problems at The Vault )
Next Problem