May 19, 2013 at 5:16pm
The loop will keep running as long as i < n. When i becomes 5, i < n becomes false, and the loop stops.
May 19, 2013 at 5:23pm
when the loop stops ,, the program execute the next statement after the loop??
May 19, 2013 at 6:12pm
Yes, when the loop ends it will run the code that is after the loop.