not able to solve this question
https://hack.codingblocks.com/contests/c/474/1418
plz help
Pattern printing
Think of the pattern in 2 steps, the upper half and the lower half.
In each half you need to consider 3 loops, for numerical values, spaces and again numerical values, respectively.
Initialize the value to N in each row in the loop. Keep on decreasing the value till the column is leas than row, then give loop for spaces, and again keep increasing the value from where you left.
Repeat this correspondingly fr the lower half.