i am facing problem in doing this challenge. help me to solve this challenge i share my code to you if you reply
About the given challenge
Your code is not running because you forgot to take n as input.
But still your pattern is not correct
Your pattern must be exactly like this
1
2 3 2
3 4 5 4 3
4 5 6 7 6 5 4
You can refer this https://ide.codingblocks.com/s/280206
Dry run this code and try to understand how it is working