This program's supposed your typical random number generator. It doesn't seem to be passing the int Number back from the NumbertoGuess method for use in the rest of the program. What am I doing wrong here? I'm aware there are some missing things in this program, I'm concerned about getting the value returned properly right now.
I've been doing some debugging with Ststem.out.println and trying to track the variables and their values as the program runs. If you execute the code, it will let you pick a number but will always tell you the number is lower than your guess. When you guess either a 0 or guess twice, it says you've guessed correctly and asks if you'd like to play again.
Far as I can tell, it's not passing the randomized Number variable back into the public void main for use in the next method in the series once it's generated in NumbertoGuess. I see the number generated correctly within NumbertoGuess but always see a value of 0 with a println at line 15 or 16 when I check it.