Pattern Rhombus

question:https://hack.codingblocks.com/contests/c/509/173
answer:https://ide.codingblocks.com/#/s/24043
1/4 passed

Your code is printing only n rows. But try running sample case. It would produce wrong answer.
Try it out yourself once again.

https://ide.codingblocks.com/#/s/24252

See this if you have any issues.