public class patternz
{
public static void main(String[] u)
{
for(int i=1;i<=20;i++)
{
for(int sp=20;sp>i;sp--)
{
System.out.print(" ");
}
for(int j=1;j{
System.out.print("* ");
}
System.out.println();
}
}
}
Thursday, March 26, 2009
java code to prtint a pattern
Labels:sreejithrs,nojamp,karakulam,sreejith rs
*,
java sample code,
pattern
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment