Blogger

Delete comment from: Java67

Anonymous said...

for(int i=1; i<=5; i++)
{
int countr = 1;
while(i>=countr)
{
System.out.print(i + " ");
countr++;
}

System.out.println("");
}

Apr 21, 2016, 7:58:12 AM


Posted to How to Print Pyramid Pattern in Java? Program Example

Google apps
Main menu