CJCoding With Joseph

Combine Conditions with OR

Declare bool isWeekend = false and bool isHoliday = true. Store whether it is a day off (either condition is true) in dayOff using ||, then print it:

True

Expected Output:

True
Topics:
Variables
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท Ctrl+Space to expand shortcuts (cw, cr, fori)

Your Output

Run your code to see the output here...

Test Cases

Run your code to see test case results.