0
1********* 12******** 123******* 1234****** 12345***** 123456**** 1234567*** 12345678** 123456789*
please Help me for Java coding ..:::::::
4 Answers
+ 2
class pattern
{
public static void main(String args[])throws IOException
{
for(int k=1;k<=9;k++)
{
for(int i=1;i<=k;i++)
System.out.println(i);
for(int j=9;j>=k;j--)
System.out.println("*");
System.out.println();
}
}
}
0
what do you mean
0
how to write this cod?
I can't writing.
0
just open eclipse or netbean whatever you use just write it down