Program converts a number from roman numerals to decimal


Discuss the below:

Q: Write a program that converts a number from Roman numerals to decimal. It needs to consist of a class, romanType. And object type of the type romanType should do the following:

A. Store the number as a Roman numeral
B. Convert and story the number into decimal
C. Print Roman or decimal as requested.

M 1000
D 500
C 100
L 50
X 10
V 5
I 1

Does not need to be compiled only need the text file.

 

Solution Preview :

Prepared by a verified Expert
C/C++ Programming: Program converts a number from roman numerals to decimal
Reference No:- TGS01937866

Now Priced at $20 (50% Discount)

Recommended (94%)

Rated (4.6/5)