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.
I have completed your program. In the end I had to struggle for a good ...
I have extensively commented the program for your ease of understanding. The program takes in a roman number and outputs the corresponding decimal/arabic number.