title: Java Program not running; error box is blank?
body: <p>sorry if this question was repeated earlier, but I couldnt seem to find the answer. I have a code: </p>
  
  <pre><code>import java.util.Scanner;
  public class PracticeProblems {
      public static void main(String[] args) {
          int x;
          Scanner input = new Scanner(System.in);
          System.out.println("Enter a number: ");
          x= input.nextInt();
          if(x%2 == 0) {
              System.out.println(x%2==0); 
          }
          else {
              System.out.println(x%2==0);
          }
  
  
      }
  
  }
  </code></pre>
  
  <p>Now I am not too worried if the code actually works or not (because this same problem has occurred when the code was perfectly functional) I am just as confused why it doesnt run.
  <a href="https://i.stack.imgur.com/vuEF1.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vuEF1.png" alt="ERROR BOX"></a></p>