title: Is The First Number a Multiple of the Second Number
body: <p>I am writing a program that asks the user to input two integers a total of ten separate times. </p>
  
  <p>Next the program needs to evaluate whether or not the first integer is a multiple of the second integer. </p>
  
  <p>If the first is a multiple of the second then the program should print out "true," if it is not then it should print out "false."</p>
  
  <p>Here is my code:</p>
  
  <pre><code>     public static void main(String[] args) {
  
           Scanner input = new Scanner(System.in);
  
           int counter = 0; // Initializes the counter
  
           System.out.printf("Enter first integer: "); // asks the user for the first integer
           int number1 = input.nextInt(); // stores users input for the first integer
  
           System.out.printf("Enter second integer: "); // asks the user for the second integer
           int number2 = input.nextInt(); // stores the users input for the second integer
  
           while (counter &lt;= 10) // starts a loop that goes to 10
           {
               if (number1 &amp; number2 == 0) // checks to see if number1 is a multiple of number2
                   System.out.print("true"); // if so then print out "true"
               else
                   System.out.print("false"); // otherwise print out "false"
           }
  
       } // end class
  </code></pre>
  
  <p>Somewhere along the line my code is breaking. Is there anyone who can help, or at least point me in the right direction?</p>