as shown goto is a quick way to exit the loop "tree".

The alternative is to introduce many breaks and a checking variable and conditions for
each loop.
..Or somehow set the loops conditionvariables to have the conditions be all false
(thus having redundant declarations about the cutoff, causing
potential problems when changing the boundaries and forgetting to adjust the other cutoff)

Now wich solution is easier to understand (and thus less error prone) ?


When someone knows how to use it, goto is totally fine.