Question: Write a program RomanNumeral.java that allows for the representation and manipulation of Roman numerals. Roman numerals use capital letters to represent numbers, combining symbols to
I:1 V:5 X : 10 L : 50 C : 100 D : 500 M : 1000
In general, higher value symbols should come first - for instance, 13 is represented as XIII, not IIIX (or any mixture such as IXII). Also, there is a special subtractive notation to prevent the same symbol appearing four times in a row - in such cases, you instead put that symbol once ahead of the next highest value symbol. So, 4 is represented by IV (
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
