Did you press the return key? The command line will not send data to your program until it's been flushed (i.e. the return key has been pressed).
A suggestion: Don't create a new scanner every...
Type: Posts; User: helloworld922
Did you press the return key? The command line will not send data to your program until it's been flushed (i.e. the return key has been pressed).
A suggestion: Don't create a new scanner every...
What inputs are you trying and what outputs are you expecting vs. what you are getting?