Flow

force2.jpeg

Back to the spell book

1. If-Else

2. Loops

2.1 For-loops

2.2 While-loops

Use break to stop the loop even if the condition is true.

Use continue to skip a value.

3. Applications

3.1 Factorials

3.2 Adding numbers