title: Nested for loop for a triangle
body: <p>I'm a beginner in java &amp; I really need this answer.
  I have been trying to create a triangle in this sequence:</p>
  
  <pre><code>1
  21
  321
  4321
  54321
  </code></pre>
  
  <p>Even though my syntax is correct, I have been going through logical errors with non-terminating loops.</p>
  
  <p>This is the program which I'm trying to fix:</p>
  
  <pre><code>for(i=1;i&gt;=1;i++)
      {
          for(j=i;j&lt;=i;j=j-1)
          {
              System.out.print(j);        
          }
          System.out.println(); 
      }
  </code></pre>
  
  <p>Help would really be appreciated for this.</p>