What do you mean by a nested loop?
3 Likes
A nested loop is defined as a loop programmed within another loop. It is used in such a way that the inner loop repeats for a given number of times for each iteration of the outer loop.
Answered By
1 Like
What is an infinite loop? Give an example.
State one similarity and one difference between while and for loops.
Distinguish between step loop and continuous loops.
When do you need to use a nested loop?