We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Exception in thread "main" java.lang.NumberFormatException: For input string: "0 2 10"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Integer.parseInt(Integer.java:492)
at java.lang.Integer.parseInt(Integer.java:527)
at HelloWorld.main(HelloWorld.java:17)
Java Loops II
You are viewing a single comment's thread. Return to all comments →
Did you see your error report when you run code?
nope. question requires space while taking input.See above solved problem .