So I tried below code for pyramid pattern and in output pattern first star is getting misplaced.can you tell me why this is happening?
I tried to develope star pyramid but one star is not getting placed where it is expected in pattern as you can see in above image.
Aucun commentaire:
Enregistrer un commentaire