Thanks for helping me, GregBannon, but I hadn't read your comment since now. And by now I already know the equals method. I btw changed the programm so it auto repeats itself after you got the right...
Type: Posts; User: Gugubo
Thanks for helping me, GregBannon, but I hadn't read your comment since now. And by now I already know the equals method. I btw changed the programm so it auto repeats itself after you got the right...
I didn't want to copy it, because it's so long...
The programm runs fine until I get the number right. Then the conosle outputs:
Again? Type in yes or no.
Again? Type in yes or no.
...
So I wanted to make a simple number guessing game, which worked fine. Then I wanted to add a play again function, but... I get errors. Why? Here's the code:
import java.util.*;
public class...