so is it scanner basically
BufferedReader stdin = new BufferedReader (new InputStreamReader (System.in));
String firstPlayer, secondPlayer;
is it same as BufferedReader?
Type: Posts; User: ekrocks
so is it scanner basically
BufferedReader stdin = new BufferedReader (new InputStreamReader (System.in));
String firstPlayer, secondPlayer;
is it same as BufferedReader?
I was reading Java Software Solutions-7th edition and found about the scanner class, however their description doesn't really help me understand the purpose of the Scanner class. So, where is Scanner...
ok, thanks a lot for helping me. I kinda get what I need to do now thanks to you :)
Ok, so last question :) is there a command for end loop? or is is just use of squiggly brackets?
I am really sorry for being really hard to deal with, but I quite don't understand what you mean. I am really confused to whether once the guess is wrong, can it go back to the "guessing" line again...
but if I use "if" it doesn't ask back for another guess even though its wrong.
Its a basic program that is played by 2 people. Player one is suppose to type a number and the second player is suppose to guess the number. However after I test it out, and if I guess too low or too...