Display  the output which is given below
*
* *
* * *
PROGRAM:

class P2
{
public static void main(String[] args)
{
for(int i=0;i<3;i++)
{
for(int j=0;j<=i;j++)
{
System.out.print(" * ");
}
System.out.println(" ");
}
}
}

OUTPUT

(Visited 173 times, 1 visits today)
Share with Friends :
Written by: