10

The two statement forms are slightly different in meaning.
The meaning of NEXT is, roughly, "increment the loop variable for the most nested loop and go to the next iteration of the loop".
The meaning of NEXT I is, roughly, "while the mentioned variable is not the loop variable for the most ne...