Adding commas to output
<p>This is what it does:</p>

<p>2,
<br />4,
<br />6,
<br />8,
<br />10</p>

<p>I would like for it to be horizontal:
2, 4, 6, 8, 10</p>

<pre><code>        try    { 
            PrintWriter fout = new PrintWriter(new BufferedWriter(new FileWriter("numbers.dat"))); 
            for(int i = start; i &lt;= 100; i = i + 2)    { 
                fout.println(i+","); 
            } 
</code></pre>
