Convert roman numerals to integers
Hello, The project is converting roman numerals to integers and integers to roman numerals.
I can get it to work if I ask the user to choose from an option menu..what I would like to do is just have the code read through and check to see if a string or an integer was entered in the input line....I tried both the while loop and the if statement...
cannot be resolved.
public static int value(char letter) // used for switch case for conversion
given = input.readline();
ei: if(given == value) and if (given == num) do this....I keep getting values