samedi 8 février 2020

Star pattern in Javascript - "MM logo"

enter image description here

I am a relatively new Javascript developer. I came across this exercise where I have to create a browser console app, which prints this "MM" star pattern logo, based on an integer N. I have tried for days to nest loops and all that jazz, but I realized I was just guessing and hoping to stumble upon the right algorithm and I need someone's help.

Aucun commentaire:

Enregistrer un commentaire