100k views
3 votes
In the following nested loop structure, which loop does the program EXIT first?

In the following nested loop structure, which loop does the program EXIT first?-example-1
User Sturrockad
by
4.2k points

1 Answer

1 vote

Answer:

The loops are nested, and the program ends when loop 1 is completed. Since loop 4 is the innermost one, that one is completed first.

User Jhanelle
by
4.9k points