to draw diamond shape


I want to draw diamond shape by "*" please help me to draw it by for loops.

*
***
*****
*******
**********
********
*****
***
*

Thanks
Last edited on
Topic archived. No new replies allowed.