Not able to figure out the appropriate modification required to be made in my code to get that extra middle star in the top and bottom row eliminated.

Extra Middle Star In Q19
I do have the code saved in the Coding Blocks IDE. The issue is I am unable to figure out how do I share it with the guide. Please help me in doing so.
corrected code:
if this solves your doubt please mark it as resolved 
