i dont know how to put the user's input with this..when i run this it automatically runs without asking how many asterisk..im new in java :(
the output of this isCode:int x,y;
for(x=5;x>=1;x--)
{
for(y=1;y<=1;y++)
{System.out.print("*");}
{System.out.println("");}
}
}
}
*****
****
***
**
*
i want the output is
Enter number:
(then it depends on the number in how many asterisk are there)

