title: Prints every 10 elements in the array with 100 elements many times
body: <p>i just created an array have 100 elements, so now i want get 10 elements print first, secondly i want continuing 10 elements print out, and 10 elements third keep going. My code is below:</p>
  
  <pre><code>    int[] array = { 0, 1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17,..., 100 };
      int count = 0;
      for (int i = 0; i &lt; array.length; i++) {
          count++;
          if (count == 10) {
              System.out.println(array[i]);
              count = 0;
          }
      }
  </code></pre>