A. Introduction
There are occasions that we might need to terminate a loop prematurely. There two statements for this purpose. Please note they apply not only for for-loops, but also for while-loops and do-loops.
B. Watch (Slides)
C. Try: to print out all prime numbers that are less than 100, do you need to use break or continue statements? Can your program achieve the same goal without using them?