title: java asterisk right triangle
body: <p>I'd like to try a right triangle asterisk. But I only got this 
  <strong>output:</strong> (I can't place here the asterisk)</p>
  
  <pre><code>@ 
  @@
  @@@
  </code></pre>
  
  <p>what I want is this:</p>
  
  <pre><code>  @
   @@
  @@@
  </code></pre>
  
  <p>Here's the code that I programmed:</p>
  
  <pre><code> public class triangles {
  public static void main( String[] args ) {
  
      for( int i = 1; i &lt;= 10; i++ ){
          for( int j = 0; j &lt; i; j++ ){
              System.out.print("*");
  
          }
          System.out.println();
      }
  
  }
    }
  </code></pre>
  
  <p>Any ideas to share are greatly appreciated. I'm a java newbie. thanks.</p>