how to print
1
21
321
4321
Pattern mountain
Hi,
You just need to use to for loops (nested).
For(I=1;I<=N;I++)
For(j=i;j>=1;j++)
Print j
Thanks
how to print
1
21
321
4321
Hi,
You just need to use to for loops (nested).
For(I=1;I<=N;I++)
For(j=i;j>=1;j++)
Print j
Thanks