/* * Main.

java * * Created on 26 de abril de 2007, 12:41 * * To change this template, choose Tools | Options and locate the template under * the Source Creation and Management node. Right-click the template and choose * Open. You can then make changes to the template in the Source Editor. */ package piramade; /** * * @author Invitado */ public class Main { /** Creates a new instance of Main */ public Main() { } /** * @param args the command line arguments */ public static void main(String[] args) { int n,i,j,k; n=Integer.parseInt(args[0]); for(i=1;i<=n;i++) { System.out.print("\n "+i+"\t "); for(j=1;j<=i;j++) { System.out.print("*\t "); } } } }