GCSE Computer Science/Operators
There are types of operators that are often used.
Arithmetic Operators
Relational Operators
Boolean Operators
If there are multiple conditions involved, you will need to use the AND or OR operators.
AND will return true only if both conditions are true. If either or both of the conditions are false, the result will be false.
OR will return true if either or both of the conditions are true. The result will only be false if both of the conditions are false.
Another operator, NOT, can be used to reverse the outcome from a comparison.
Category:Book:GCSE Computer Science#Operators%20