How I solved the pyramid algorithm in JavaScript
Instructions Write a function that accepts a positive number N. The function should console log a pyramid shape with N levels using the # character. Make sure the pyramid has spaces on both the left and right hand sides // Examples pyramid(1) // ...
Oct 5, 20213 min read614
