Missing out a number on a for loop? (Java)
<p>Right, before I start: this is a hw question. </p>

<p>We have to print out: -20, -15, -10, -5, 5, 10, 15, 20</p>

<pre><code>for(i = -20; i&lt;25; i += 5)
    {
        System.out.println(i);
    }
</code></pre>

<p>I've gotten it to output all the numbers, however, we're not allowed to output 0. </p>

<p>This question has me stumped . Any help please?</p>
