Nice one CEHJ!
I'm still having problems though with the other two. Any ideas?
Thanks in advance
--------------------Config
F:\GuessingGameExer4.java:
symbol : variable input
location: class GuessingGame
while(input.equals("y"));
^
F:\GuessingGameExer4.java:
symbol : variable input
location: class GuessingGame
if(input.equals("n"));
^
2 errors
Process completed.
Main Topics
Browse All Topics





by: CEHJPosted on 2009-10-28 at 07:03:13ID: 25683312
You need
System.out.printf("Random Number is %d\n", secretNumber);