input the roman numerals from text file and convert it into arabic and again write it into text file in java

prakash1

Estimable
May 22, 2015
2
0
4,510
sample input should be like:

VL
MMCMXCIX
LIVX
DCLXXXVII


sample output should be like

Case #1: Invalid numeral: can't subtract auxiliary symbol.
Case #2: 2999
Case #3: Invalid numeral: two consecutive subtractions.
Case #4: 687
 
You write some code. You post this code here, explaining what works and what not. We help you. That's how it works.

Noone will write the code for you. It is your homework.