View Single Post
  #5 (permalink)  
Old 12-11-2007, 06:59 AM
hey hey is offline
Member
 
Join Date: Dec 2007
Posts: 21
hey is on a distinguished road
Quote:
Originally Posted by staykovmarin View Post
Define doesnt work:
Code:
x = input.InputInt(); System.out.println(x); y = input.InputInt(); System.out.println(x);
You are also printing x twice there.
Yes, I saw that))

Exception in Thread "main" java.util.NoSuchElementException
at ..
at ..
.. smth like that
after I enter the first value, it prints it and right after that I get that exception
Reply With Quote