Mirror star pattern

i am able to write this program and my program is running and it is completely correct but i cant able to give spaces between stars .Please see to it and tell me how should i gave space between stars.Here is my code

@abhibansal252 you need to do two thing
make a space after each star
and provide double spacing initially instead of single spacing
Coding Blocks IDE
this is the implemented code if the issue still exists let me know and if clear mark it as resolved and rate my experience

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.