MIRROR STAR PATTERN (PATTERN 5)

https://hack.codingblocks.com/contests/c/474/168

What problem are you facing. The question is pretty easy.
Try to break it in 2 sub problems, upper and lower half.