Computer Science for IGCSE & O level - Programming (Section 6 - No. 20)

What is the purpose of an `AND` operator in a conditional statement?
To test if at least one condition is true.
To combine two conditions, both of which must be true.
To negate a condition.
To assign a value to a variable.

Explanation

`AND` requires that both conditions be true for the overall result to be true.

Comments (0)

Advertisement