I need to convert Arabic to Roman. I have a method number(int place), that gets each digit from a certain number.
Example: 5821, where the number method at place 0 = 1; number(2) = 8, etc.
I now need to write a method (with a helper), that converts these characters into roman numerals. This wouldn't normally be difficult, but I can't use arrays, and this method has to work for the three cases (1's, 10's, and 100's); so I can't write a case for each numeral (otherwise I could many switch or if's to cover the cases).
Ideas anyone?