+ 1
Plz tell me This java code for this pattern
54321 4321 321 21 1 21 321 4321 54321 https://code.sololearn.com/cLS67DjksSRb/?ref=app
1 Answer
0
sp--;
// for(j=2;j<=i;j++)
for(j=i; j>0; j--)
System.out.print( j );
System.out.println();
54321 4321 321 21 1 21 321 4321 54321 https://code.sololearn.com/cLS67DjksSRb/?ref=app