title: if variable equals 1 (java)
body: <p>At the end of my code, I want to check if the user wants to try everything again. So I ask
  them to input 1. I want to check if the input is 1, and if so, I run the program again.</p>
  
  <p>The problem is, it ignores the condition and always decides to run the program again.</p>
  
  <pre><code>int input = readInt("1 = yes, 0 = no: ");
  if (input == 1); {
      run();
  }
  </code></pre>
  
  <p>Even if a number different than 1 is input, it still performs <code>run();</code> .
  I only want it to do that if the input number is 1.</p>
  
  <p>I am obviously making a rookie mistake but I cannot seem to figure out what it is. Any pointers?</p>