write a program that converst a number entered in roman numerals in java one class t 5192550
Write a program that converst a number entered in Roman numerals ( in java one class) to decimal. Your program should consist of a class by the name of “Roman”. An Object typed “Romen” should do the following:
A) Store the number as a Roman Numeral
B) Convert and store the number into decimal
C) Print the number as a Roman numeral or decimal number as requested by the user
The decimal values of the Roman numerals are as follows:
M = 1000
D= 500
C= 100
L = 50
X= 10
V= 5
I = 1