- Process control
1) if, else, else if,for,while,do… while
2) break
To break out of the loop is to end the loop. For example: Find the largest integer between 0 and 100 divisible by 7:
Without the break statement:
3) the continue
Immediately terminate the loop when you see continue (that is, the code after continue will not be executed) and continue the next loop.
For more resources, please follow the wechat official account: AKA Program Wang