title: java runtime error (NZEC)
body: <p>So i am working on this ATM problem on codechef and my program runs on my compiler and meets all the problem's requirement however codechef's compiler keeps giving me this NZEC runtime error and i cant figure out why.  Here is the code: How can i fix it?</p>
  
  <pre><code>import java.util.Scanner;
  
  public class ATM {
  
    public static final double charge = 0.50;
  
    public static void main(String args[]) {
  
      int x,y;
  
      Scanner keyboard = new Scanner(System.in);
  
      while (keyboard.hasNext()) {
  
        x = keyboard.nextInt();
        y = keyboard.nextInt();
  
        if( y &gt; x + charge &amp;&amp; x % 5 == 0) {
  
          double balance = y - x - charge;
          System.out.println(balance + "0");
        } else {
          System.out.println(y);
        }
      }
    }
  }
  </code></pre>