Adding Roman Numericals using Java programming

Please help me in Writing an program to add any 2 given Roman numerals together and return the results.

[I don't want to convert Roman numbers to decimal numbers & then add together, then convert in to Roman numerials ]

Is there any direct way to add roman numerials?

Much appreciated in advance to slove this problem.

For example: I + I = II

III + I = IV

Thanks

Pushpas

Re: Adding Roman Numericals using Java programming

What have you tried? - Matt Gemmell

Post your code and ask specific questions.

Re: Adding Roman Numericals using Java programming

In a general sense, No. What you describe is not possible, because the computer does not "think" in Roman Numerals. As a result, some conversion would have to be done to "teach" it to use Roman Numerals in basic math equations. Even if you found a third-party library that had already done the work for you, some conversion would exist in the library.

Re: Adding Roman Numericals using Java programming

Thanks a lot Grebrannon..much appreciated for your advice.

Re: Adding Roman Numericals using Java programming

You're welcome. Marking thread as solved, but add to it if you need to.