Delete comment from: Java67
int x=1;
for(int i=0;i<=4;i++)
{
for(int j=0; j<=i;j++)
{
System.out.print(x);
x++;
}
System.out.println();
}
Sep 6, 2016, 3:17:48 PM
Posted to How to Print Pyramid Pattern in Java? Program Example