Wrong answer hollow rhombus pattern

although i am getting desierd output it is still showing worong answer i will share my code with you

save your code on ide.codingblocks.com and share the link here