title: Java while function not running
body: <pre><code>        while (done = false)
          {
          if (((int1 / int2) &gt;= 1.0) &amp;&amp; ((int1 / int3) &gt;= 1.0))
          {
              System.out.println(outputInt1 + " ");
              int1 = 0.1;
          }
          if (((int2 / int1) &gt;= 1.0) &amp;&amp; ((int2 / int3) &gt;= 1.0))
          {
              System.out.println(outputInt2 + " ");
              int2 = 0.1;
          }
          if (((int3 / int1) &gt;= 1.0) &amp;&amp; ((int3 / int2) &gt;= 1.0))
          {
              System.out.println(outputInt3 + " ");
              int3 = 0.1;
          }
          else if ((int1 == 0.1) &amp;&amp; (int2 == 0.1) &amp;&amp; (int3 == 0.1))
          {
              done = true;
          }
          }
  </code></pre>
  
  <p>Hi, I can't seem to be able to figure out why this while statement will not run. In the console it simply will not print anything in the if statements.</p>
  
  <p>I assume it's an error with my arithmetic in the if condition.</p>
  
  <p>Thanks!</p>