Posted by : Unknown Thursday, 11 June 2015


class ReversePyramid
{
public static void main(String[] args)
{
for(int i=1;i<=10;i++)
{
for(int j=10;j>=i;j--)
{
System.out.printf("*");
}
System.out.println();
}
}
}
 

Output:


Leave a Reply

Subscribe to Posts | Subscribe to Comments

Welcome to My Blog

Translate

Popular Post

Total Pageviews

Blog Archive

- Copyright © Learning Java Program - Powered by Blogger -