i have problem in printing
1
2 1
321
4321
this part
Pattern mountain
@Ankur752,
I have corrected your code: https://ide.codingblocks.com/s/194306
You were taking unnecessary variables. And this loop: while(st>=nst)
was taking your code into an infinite loop
Thank you sir , i didn’t posted the corrected code while trying to run the code