if (x > 0) { playing = true; if (x < Numbers) { Numbers = x; } else { playing = false; System.out.println("The lowest number is " + Numbers + " ."); } }