title: The below code wont execute with some inputs
body: <p>Sorry for such a basic level question guys. But I'm starter in programming. Not a computers guy. So kindly help me. 
  In this code when I give input <code>1000000000</code>, <code>1000000000</code>, <code>999999999</code> the answer should be 4. But my answer is 1. I expect the <code>if</code> statement to execute but it is not executing here.</p>
  
  <p>if you take m*n as a room and "a" as the side as a square tile. Then I want to count MINIMUM no. of tiles required to fill the floor of room. tiles may cover a bit more area but should not leave the room empty. this is my objective. It's working with inputs like 6,6,4 or 15,20,13 etc.</p>
  
  <p><strong>Now its working guys. I had posted the correct code with those minor changes below.</strong></p>
  
  <pre><code>import java.util.Scanner;
  public class TheatreSquare {
      private static Scanner input;
       public static void main(String[] args) {
       input = new Scanner(System.in);
       float m=input.nextFloat();
       float n=input.nextFloat();
       float a=input.nextFloat();
       long i=(int)(m/a);
       long j=(int)(n/a);
  
       if((a*a*i*j)&lt;m*n){
  
          if(a*i&lt;m){
              //to check weather it is entering if()
              System.out.println("true");
              i+=1;
          }
          if(a*j&lt;n){
              System.out.println("false");
              //to check weather it is entering if()
              j+=1;
          }
         }
         System.out.println((double)(i*j));
       }
   }
  </code></pre>