title: How to start for loop from 1
body: <pre class="lang-java prettyprint-override"><code>int keyCardNum = 10;
  for(int x = 0; x&lt;= keyCardNum; x++) {
          System.out.println(x);
  }
  </code></pre>
  <p>It prints the following:</p>
  <pre class="lang-none prettyprint-override"><code>0
  1
  2
  3
  4
  5
  6
  7
  8
  9
  10
  </code></pre>
  <p>Online I read that for loops start from 0. It that true and how can I remove the 0 and start from 1 to 10.</p>