*
* * *
* * * * *
* * * * * * *
* * * * * * * * *
class a1
{
Public static void main (String args[])
{
int I,j,k,1;
for(i=1;i<=5;i++)
{
for(1=5;1>=I;1--)
System.out.print(“\t”)
for(j=1:j<=I;j++)
System.out.print(“*\t”);
for(k=i-1;k=1;k--)
System.out.print(“*\t”);
System.out.println();
}
}
0 comments:
Post a Comment