Ganesha's pattern problem

https://ide.codingblocks.com/s/50245

sir my code is failing one test case. wht is the error ?

Hi, share the link of the question as well.

Take as input N, an odd number (>=5) . Print the following pattern as given below for N = 7.

hey yukti, your code is passing all the test cases, try to submit the code again.