I want to write a program that converts Roman numbers to Arabic from 1 to 3000 inclusive.<br>class RomanTest { <br> public static void main(String args[] ) {<br> int i=0,<br> j=Integer.parseInt(args[0]);<br><br> String s;<br><br> for(i=0; i<=j; i+=1) {<br> s = Roman.AtoR(i);<br> <br> System.out.println(i + ": " + s + " == " + Roman.RtoA(s)); <br> }<br> }<br><br> }<br><br>How to construct Roman class which should have RtoA function and vice versa ?<br>