The Nested-for Statement
statement inside another for
statement is commonly used technique in
Let’s generate the following table using nested-
Just an if statement can be nested inside another if statement, we often nest for loops. For example, using a nest-for loop is the most appropriate way to generate a table such as the illustration.