






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







i = 1; while i < 6 disp(i); i = i + 1; end
With the break statement we can stop the loop even if the while condition is true:
Assume you have a list of numbers 12, 10, 32, 3, 66, 17, 42, 99, 20