Just started my uni course, struggling a little with javascript. I have been asked to display a square using any character, however, the solution must combine for loops and if s
Well the for loop is only iterating 3 times, printing the first line. If you want a square you'll have to print 9 stars total, right? So i'm assuming, is this is the approach you'd go for, you would need to iterate not until size, but until size * size.