I am doing the Christmas Tree and I have an issue. How do we put the variable for the number of concentric squares? Happy holiday everyone.
I think you can put the number of concentric squares in the Parameters in all three methods. Moreover, you can put that number to the for loop to create concentric squares. Happy holiday.
If you notice in the main method, the last number in drawOneTree(....) is the number of the concentric squares. So when you do the method later, just declare it like usual.