vendredi 30 mars 2018

Nested loop patterns spaces proplem

So iam supposed to draw this pattern using nested loops

the pattern

And here is my output and code

output

my problem is i can't get the spaces between the stars properly what can i do to make the spaces like the example ?

Aucun commentaire:

Enregistrer un commentaire