Commit 0114a63
committed
feat: Add BooleanOperators class demonstrating boolean logic operations
Add a class to illustrate basic boolean logic including:
- Declaration and initialization of boolean variables
- Use of NOT (!) operator
- Logical AND (&&) and OR (||) operations
- A compound boolean expression using NOT and AND.1 parent 85752ae commit 0114a63
File tree
1 file changed
+9
-1
lines changed- Section5OperatorExpression/1. Fundamentals/Operators/Boolean Operators/src
1 file changed
+9
-1
lines changedLines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
| 8 | + | |
7 | 9 | | |
| 10 | + | |
8 | 11 | | |
| 12 | + | |
9 | 13 | | |
| 14 | + | |
10 | 15 | | |
| 16 | + | |
11 | 17 | | |
| 18 | + | |
12 | 19 | | |
| 20 | + | |
13 | 21 | | |
14 | 22 | | |
15 | | - | |
| 23 | + | |
0 commit comments