Getting Started Guide

CLASS 3
50
Conditional Operator
Introduction
Here you are going to first learn the conditional operator to make a DJ box. Conditional operators are operators
that compare different conditions. Look at the conditional operator below.
Condition 'and' -condition 'and' must satisfy both left and right conditions.
Look at the example of the conditions 'and' below.
The reason the above condition is false is that the left condition is true but the right condition is false. 3 is not less
than 2. So the whole condition is a lie.
The above conditions are true because the left and right conditions are both true. So the whole thing is true.
= true
true + true
= false
true + false