Site icon TestingDocs.com

Nested Loop Flowchart Using RAPTOR

Overview

Nested Loop in Flowchart is nesting a loop inside a loop. In many conditions we may want to run multiple loops in a flowchart. If we run a loop inside another loop the whole structure is called Nested loop.

Iterations

The number of times the whole structure runs increases or multiplies. For example, if the outer loop runs for m times, and the inner loop run for n times.

The nested loop runs  = m * n times

Nested Loop Flowchart

 

Examples

The common example where we use nested loops is in 2d arrays.(two dimensional arrays ). One loop to track the rows of the 2D array. Inside nested loop to track the columns in the 2d array.

Exit mobile version