0
Please print this pattern. ....i got it wrong
1 21 321 4321 54321
6 Antworten
+ 5
for (int i=1;i<6;i++)
{
System.out.print("\n");
for(int v=i;v>0;v--)
{ System.out.print(v);
}
}
+ 1
neither do I
0
I don't understand the question you are asking
0
sorry. ....my mistake
0
int i,j,k;
for(i=1,k=1;i<=5;i++,k++ )
{
for (j=5;j>=i+1; j--)
{
System. out.print("");
}
for(j=k;j>=1;j--)
{
System .out. print(j);
}
System .out.println ("");
}
}
this might help you