(a || b) && a
a
The expression simplifies to a because both of the statements below are true.
- If
aistrue, the entire expression istrue. - If
aisfalse, the entire expression isfalse.
b is not relevant. Note that if only 1 of the statements above was true, the expression would not simplify to a.
Navigation
Exercise 5 solution
Exercise 7 solution
Exercises
All solutions