Thank you so much Anthony, finally I understand what scanner is for.
noukaddi
This is my problem..I mean I get no error but no effect as well, because when I run it, it is true that none of the stuff I coded shows up, but the line : BUILD SUCCESSFUL (total time: 0 seconds) shows up, and because of it I cannot type anything anywhere...Basically I can't input anything
kojax
thanks ! it was very simplified.
But I have question: can we input other types of variable via scanner ?