Or how can I read a Input from args without import class?
Type: Posts; User: tfcanadian
Or how can I read a Input from args without import class?
int arabe = Integer.readLine(args[0]);
String romain= "";
The compilator says that it can't find symbol. The arrow is under the "".""
It worked before.
I just actually don't know how to do it. Found out that my code is dope :(
Oh I'm sorry. I'm not counting it as a method. But you're right, I'm using the string method. As this point I can convert every single character to a numeral value and add them to each other. But...
Exemple of the execution in the CMD:
java romaintoarabic MCXI
Converted number : 1111
Hi! so right now i'm trying to do a program to convert romain numbers to arabic numbers. My problem is that I don't have the right to use Methods and Arrays. Only loops and if/else. I actually have...