Comparison & Loops
USING COMPARISON OPERATORS :
At the most basic level, you can evaluate two variables using a comparison operator to return a true or false value.
USING LOGICAL OPERATORS :
To understand what is logical operators see th tuth table below.
Loops
Here are some points to consider when you are working with loops.
- break : This keyword causes the termination of the loop and tells the interpreter to go onto the next statement of code outside of the loop.
- continue : This keyword tells the interpreter to continue with the current iteration, and then check the condition again.