title: I saw this piece of code in a coding book and the output was 3, 5, 7, 9. Can someone explain to me why number 1 is not displayed in the output?
body: <p>Here is the code that I tried in VS Code:</p>
  <pre><code>int i = 1;
  while (i &lt; 10)
  if((i++) % 2 == 0)     
  System.out.println(i);
  </code></pre>
  <p>And the output was:
  3
  5
  7
  9</p>