Roman Numerals Conversion

roman-numeralsFor this challenge, your aim is to write a program used to convert whole numbers (integer) into roman numerals and vice versa.

Roman Numerals are based on seven symbols:

Symbol Value
I 1
V 5
X 10
L 50
C 100
D 500
M 1,000

Complete the code

Test Plan

Test # Input Values Expected Output Actual Output
#1 8 VIII
#2 75 LXXV
#3 2017 MMXVII
#4 CI 101
#5 MMXVII 2017
#6 MCMXLV 1945


The solution for this challenge is available to full members!
Find out how to become a member:
➤ Members' Area

Did you like this challenge?

Click on a star to rate it!

Average rating 4.3 / 5. Vote count: 9

No votes so far! Be the first to rate this post.

As you found this challenge interesting...

Follow us on social media!

Tagged with: