class ninethA
{
public static void main(String args[])
{
int i, j,k;
int n= Integer.parseInt(args[0]);
for(i=0;i
for(j=n*2;j>=i;j--)
System.out.print(" ");
for(k=0;k System.out.print(" *");
System.out.println();
}
for(int l=n;l>0;l--)
{
for(int m=n*2;m>=l;m--)
System.out.print(" ");
for(int o=0;o
System.out.println();
}
}
}
0 comments:
Post a Comment