Commit a0ac5b0
committed
feat: Add BooleanLogic class demonstrating boolean operations
Add a new class that demonstrates basic boolean logic operations including:
- Boolean variable declaration and initialization
- NOT operator usage
- Complex boolean expressions with AND/OR operators
- Tautology example using (!value1 || value1)1 parent c0985db commit a0ac5b0
File tree
2 files changed
+19
-4
lines changed- Section5OperatorExpression/1. Fundamentals/1.5 Boolean Logic
- src
2 files changed
+19
-4
lines changedLines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
7 | 10 | | |
| 11 | + | |
8 | 12 | | |
9 | 13 | | |
0 commit comments