title: Java If statement not functionining as intended
body: <p>I'm trying to make a simple enough if statement that creates a range of intergers, in this case => 0 and &lt;= 250, but it doesn't seem to work at intended. No matter what value height is, it doesn't ever pull it up and run the second block.</p>
  
  <pre><code>public static void display(int height, int weight)
  {
      if(height &gt;= 0 &amp;&amp; height &lt;= 250 )
      {
          System.out.println( format() );
      }
      else
      {
          System.out.println("Please enter a height (in cm) above 0 and below 250");
      }
  }
  </code></pre>
  
  <p>Here is the <code>format()</code> code:</p>
  
  <pre><code>    public static String format()
  {
      String name = "Harry Potter";
      int height = 256;
      int weight = 84;
      return String.format( "Name:\t %s %n" + "Height:\t %scm%n" + "Weight:\t %skg%n", name, height, weight);
  }
  </code></pre>