https://ide.codingblocks.com/#/s/26047
question:https://hack.codingblocks.com/contests/c/509/168
not able to adjust the tab here
Mirror star pattern tab
your output is not proper for any other odd number except 3
@ayushi773478
Your code doesn’t works for any number except 3.
Try to rectify it so that it works for all odd numbers.
Then tab can be include very easily.
please give me some hints how to correct i am not getting
You can print upper half of the triangle(i.e line 1 to 3) then lower half (i.e line 4 to 5)
Try to break the problem in two sub-parts.
Try to link the number of rows in each sub-part with the total number of rows. And then attempt it again.