Write a program that converts a number in Roman numerals to decimal. Your program should consists of a class, say romanType. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

Write a program that converts a number in Roman numerals to decimal. Your program should consists of a class, say romanType.

An object of romanType should do the followinga). Store the number as a Roman numeral. b). Convert and store the number into decimal form. c). Print the number a a Roman numeral or decimal number as requested by the user. d). Test your program using the following numerals: MCXIV, MDCLXVI 

22nd Oct 2019, 6:19 PM
Phillips Pokuaa
Phillips Pokuaa - avatar
1 Answer
+ 3
If you are asking for help then show your attempt first. Otherwise if you are just writing a challenge then it ain't the place for this. This forum is for programming related questions.
22nd Oct 2019, 6:26 PM
Eliya Ben Baruch
Eliya Ben Baruch - avatar