Test case Error

i check all the cases that is 1,3,5,7,9 manually the pattern is output is correct but it is showing wrong answer

@ubaidshaikh9999,
Can you please share your code too?
Use https://ide.codingblocks.com/ to share your code. Select language. Copy code. Click on save. Share link.