Noah Smith
2010-12-22 20:56:53 UTC
I don't know if it was just the program I was using before or what but with the scanner class to read Ints it was reader.nextInt(); and doubles were reader.nextDouble(); which work fine in other programs but to read strings entered on the keyboard by the user, it was reader.nextLine(); is there another way to do it or was I doing something wrong? Because now when I use reader.nextLine(); it actually does just skip the current line and go to the next. I'm fairly confident that all the code was in order. Thanks!