help with nested for loops to capture the structure of the figure

Printable View