Why my nextLine() doesnt work?
In my code I scan an int, then this String and then another int. But it skips the scan of the String. I looked for it in Stackoverflow and its a common error with two solutions: to write another nextLine() before or to use try and catch (I don't know how does it work yet). I use the first solution in NetBeans, in my computer and it worked but doesn't work here. What do you reccomend?