Convert Arabic to Roman Numerals | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
28th Nov 2017, 7:22 PM
Mircea Denis
Mircea Denis - avatar
3 Answers
+ 1
i want to try this in ruby. i post a link here when ready
29th Nov 2017, 1:02 PM
Lars I.
Lars I. - avatar
+ 1
My solution in ruby as promised: https://code.sololearn.com/cpSSYOmC2dFC/#rb Did you define the "symbols" for 5000+ for yourself because they are not to be found on any webpage i searched for them All i found was the spelling of Apostrophus: It repeats C and D to increase C or D by factor 10 thanks for the idea for the converter. i mentioned you in the credits ;D
30th Nov 2017, 11:57 AM
Lars I.
Lars I. - avatar
0
I = 1   L = 50    M = 1000   R = 50000    U = 1000000    N = 50000000 V = 5   C = 100   P = 5000   S = 100000   B = 5000000    Y = 100000000 X = 10  D = 500   Q = 10000  T = 500000   W = 10000000   Z = 500000000
30th Nov 2017, 7:19 PM
Mircea Denis
Mircea Denis - avatar