i want print following patterns in java please help me
image host
first one i know
but i don't know how to change other patterns
please help me
first one code
public class nested1
{
public static void main(String a[])
for(row col = 1; row <=5; row++)
{
for(int col = 1; col <=10; col++)
{
{System.out.print('*');
}
}
System.out.println();
}