TO PRINT PATTERN1

                                                      *
                                                      **
                                                      ***
                                                      ****
                                                      *****



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

Comments

Popular posts from this blog

Problem Statement Of Real Estate Use Cases

Problem Statement Of Bank Marketing analysis

Hadoop