define nested loop
Nested loops are logical structures that are used in a wide array of computer programs. A nested loop is an efficient and simple way for coders and programmers to cause sequential events and actions that build upon each other.