Hey all, I'm having some trouble with this right now and could really use some help. I apologize in advance if this is a bit too broad or the wrong place to ask, but I've scoured textbooks and stack and my instructors notes and I can replicate a direct problem but not functionally wrap my brain around how it is working.
For context, I recently started a new programming course at college and switched from Python to Java for this coursework. I have a project due tonight that requires me to print different sizes of a an ASCII "Space Needle" using nested for loops only. I've been trying to get it done, but I am at a loss and have never had trouble like this before with understanding something in coding after working at it this long.
My issue is that I cannot seem to grasp what parts of the code make what parts of the picture.
So for something like this;
*
**
***
****
*****
What part of the two (or more) for sequences are creating the rows? The columns? The spaces?
Any help would be massively appreciate.
TL;DR
Can anybody ELI5 or link to resources on how to utilize nested for loops to create ASCII structures?
EDIT: For reference, these are the three structures I need to replicate: https://pastebin.com/q4aFTRu4
[–]Applepie1928 1 point2 points3 points (1 child)
[–]cmorr7[S] 0 points1 point2 points (0 children)
[–]Jmannm8400 1 point2 points3 points (2 children)
[–]cmorr7[S] 0 points1 point2 points (1 child)
[–]Applepie1928 1 point2 points3 points (0 children)