I am having problem understanding nested loops, esp in making patterns with them.
I am able to understand simple loops like these:
code for this will be:
for (row = 0; row < ROWS; row++) /* line 10 */
for (ch = 'A'; ch < ('A' + CHARS); ch++) /* line 12 */
In this one the outer loop controls the no. of columns and the inner one control the no. of rows and data to be printed.
But I can't get my head around these kind of patterns:
Can someone please guide me? I need an explanation not just code.