I have a problem help me
Hello,
I'm avik.I have been facing a problem in a
typical Java program.The problem is...
Write a program in Java(Application not Applet)
that'll print the following:
*
***
*****
*******
I have done this but not more
class star
{
public static void main(String args[])
{
for(int i=0;i<=10;i++) {
for(int j=0;j<=i;j++)
{
System.out.print("*");
}
System.out.println();
}
}
}
please help me.
__________________________________________________________
Enjoy this Diwali with Y! India Click here http://in.promos.yahoo.com/fabmall/index.html
Reply to: