Computer Science, asked by sanbarasu12910, 4 months ago

In nested loops, to come out of the 1 point
outer loop before the iteration
finishes, you need to have
break in inner loop
break in outer loop
break in both inner and outer loop
continue in inner loop​

Answers

Answered by jai696
3

\huge\red{\mid{\fbox{\tt{ANSWER}}\mid}}

ain nested loops, to come out of the outer loop before the iteration break in outer loop.

\huge\blue{\mid{\fbox{\tt{Explanation}}\mid}}

In a nested loop, a break statement only stops the loop it is placed in. Therefore, if a break is placed in the inner loop, the outer loop still continues. However, if the break is placed in the outer loop, all of the looping stops.

\large\mathsf\color{lightgreen}useful?\: \color{white}\longrightarrow\: \color{orange}brainliest!

Similar questions