Convert Roman Numeral to Integer type using array...
807601May 15 2008 — edited May 15 2008Hi everyone, newbie here.. could any one help me to Write a program that converts numbers entered in Roman Numerals to decimal? The program should consist of a Class, say Roman. An object of the type Roman should do the following:
a. Store the numbers as a Roman numeral
b. Convert and store the number into integer.
c. Print the number as a Roman numeral or decimal number as requested by the user, the decimal value of the Roman numerals are:
M = 1000
D = 500
C = 100
L = 50
X = 10
V = 5
I = 1
d. Test the program using the Following Roman numerals: MCXIV, CCCLIX, and MDCLXVI
the program have to use ARRAY.. im using TextPad anyways.., so please help me to solve this problem with simple codes..