Hi i am trying to make a program that prints a symmetrical figure like so: (excluding the periods)
..................*
................***
..............*****
................***
..................*


but,, the problem is, i need it to ask the user how many lines the figure has, and print a figure like the above, but with as many lines as the user requires,, the above figure has 5 lines for example,, in the pattern 1 *, 3 *, 5*, 3* , 1* ........ but i cannot figure out how to make the program print out the stars and lines according to the amount of lines a user inputs...
any help would be appreciated..
thanks-