[ad_1]
The outer loop iterates over the lines to print. The first inner loop prints the desired number of spaces in order to have the non-whitespace characters appear center aligned. The second inner loop prints the left half of the row, and finally the third inner loop prints the right half of the row.
[ad_2]
solved How nested loops are working in c#? [closed]