Hello,
Can anyone help me solve the error in this program??
I get the following error:
Exception in thread "main" java.lang.NumberFormatException: For input string: ""
at java.lang.NumberFormatException.forInputString(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at converter.main(basic_convert.java:20)
The whole program runs properly. The error come after asking if I want to calculate again or not. The error come or 'y' but not for 'n'. I use eclipse 3.5 SDK.
Thanks