">int</span> <span class="n">counter</span><span class="p">;</span>                <span class="c1">// declare a counter variable</span>
<span class="n">counter</span><span class="o">++</span><span class="p">;</span>                  <span class="c1">// increment counter</span>
<span class="k">while</span> <span class="p">(</span><span class="n">index</span> <span class="o">&lt;</span> <span class="n">length</span><span class="p">)</span>      <span class="c1">// while index less than length</span>
</code><