mardi 3 septembre 2019

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

Aucun commentaire:

Enregistrer un commentaire