title: Converting loops (Java Beginner question)
body: <p>Does Converting between loops always works like this? or there is some situation that it does not? and what is the fastest way to check while I'm solving a question like this in Exam?</p>
  
  <p>For Loop:</p>
  
  <pre><code> for(xx;yy;zz)
      { 
         aa
      }
  </code></pre>
  
  <p>While Loop:</p>
  
  <pre><code>    xx
      while(yy)
      {
        aa
        zz
      }
  </code></pre>
  
  <p>Do While:</p>
  
  <pre><code>      xx
        do
        { 
          aa
          zz
        }
      while(yy)
  </code></pre>