Activity 1.15.1.
- Conjoining conditions with the && operator
- No. Please watch the video carefully.
- Conjoining conditions with the || operator
- Correct!
- Directly returning boolean conditions
- No. Please watch the video carefully.
- None of the rules we’ve learned so far could be applied
- No. Please watch the video carefully.
For the code example discussed in the video, applying which of the following rule(s) resulted in removing the repeated code from the conditional branches?
Select all that apply.