title: A "for" loop with two variables, one increments every iteration and the increments every other iteration
body: <p>I can't seem to figure out a way to write a "for" loop that has two variables (<code>i</code> and <code>j</code>). I want <code>i</code> to increment by adding one every time, and <code>j</code> to increment by adding one every other time that <code>i</code> increments. Any ideas? (I've already tried a nested loop, or having them both initialized in the same condition statement.)</p>