title: Is 24 number is even or odd?
body: <p>I am working on my test case for checking if number is odd or even and when I number is 3 then it shows Odd number but number is 24 then it still shows number as Odd number.</p>
  
  <p>I am using modules Divide for checking the Odd Even number. Please have a Look at the code and let me know where I am making mistake:</p>
  
  <pre><code>&lt;?php
  
  
  
  $stdin = fopen("php://stdin", "r");
  
  fscanf($stdin, "%d\n", $N);
  
  fclose($stdin);
  
  if($stdin / 2 != 0){
  
  print("Weird");
  }
  else{
  
      if(($stdin &gt;= 2) &amp;&amp; ($stdin &lt;= 5)){
          print("Not Weird");
      }
      elseif(($stdin &gt;= 6) &amp;&amp; ($stdin &lt;= 20)){
          print("Weird");
      }
      elseif($stdin &gt; 20){
          print("Not Weird");
      }
  }
  </code></pre>