title: For Loops Code Optimization
body: <p>I had a challenge to print out multiples of 7 (non-negative) to the 50th multiple in the simplest way humanly possible using for loops.</p>
  
  <p>I came up with this (Ignoring the data types)</p>
  
  <pre><code>for(int i = 0; i &lt;= 350; i += 7)
           {System.out.println(i);}
  </code></pre>
  
  <p>The other guy came up with this</p>
  
  <pre><code>for(int i=0;i &lt;=50; i++)
  {
  System.out.println(7*i);
  }
  </code></pre>
  
  <p>However, I feel the two code snippets could be further optimized. If it actually can please tell. And what are the advantages/disadvantages of one over the other?</p>