how can we slove dynamic pattern program for odd no of values : what is the solution of the pattern program given below.
like if we have, n=3 then pattern should be

 *
* *
 *

for n=5

  * 
 * *
* * *
 * *
  *
and so on for n= odd values


