what is nested loop
Answers
Answered by
7
Nested loop is a loop inside another loop.
Answered by
13
a loop within loop is called nested loop.
it can be applied when the internal loop repeats for a given no. of times for each iteration of external loop.
loop1(cond.1)
{ --------
----------
loop 2(cond. 2)
{----------
-----------
loop 3(cond.3)
{-----------
-------------
}
}}
it can be applied when the internal loop repeats for a given no. of times for each iteration of external loop.
loop1(cond.1)
{ --------
----------
loop 2(cond. 2)
{----------
-----------
loop 3(cond.3)
{-----------
-------------
}
}}
Similar questions
Accountancy,
7 months ago
English,
7 months ago
Social Sciences,
7 months ago
Hindi,
1 year ago
Social Sciences,
1 year ago
English,
1 year ago
Chemistry,
1 year ago