Thats no problem. I just thought this made the program more user friendly.
If this thread is solved, please mark it as solved:
...
Type: Posts; User: JavaPF
Thats no problem. I just thought this made the program more user friendly.
If this thread is solved, please mark it as solved:
...
Did you see the if statements I added?
This fixes a few problems. Compile this code with the if statments commented out:
import java.util.Scanner;
import java.util.*;
public class...
Hello big_c.
I have edited the code to show a range of 10 either side of the guess.
import java.util.Scanner;
import java.util.*;
public class NumberGame