diff options
| author | Mike Vink <ivi@vinkies.net> | 2025-02-16 18:21:50 +0100 |
|---|---|---|
| committer | Mike Vink <ivi@vinkies.net> | 2025-02-16 18:21:50 +0100 |
| commit | b9bf3afbb52aebcc0f93df55b55ec0f0f521b1ab (patch) | |
| tree | 76899e2e38c2a9ca7e40db160a9c86ee0ad4e0dc /4/practice_problem_4_9_hcl_xor.hcl | |
| parent | 7ae6aa6a64f3f697edb90bb573862bf31dd14e69 (diff) | |
Diffstat (limited to '4/practice_problem_4_9_hcl_xor.hcl')
| -rw-r--r-- | 4/practice_problem_4_9_hcl_xor.hcl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/4/practice_problem_4_9_hcl_xor.hcl b/4/practice_problem_4_9_hcl_xor.hcl new file mode 100644 index 0000000..bb474e7 --- /dev/null +++ b/4/practice_problem_4_9_hcl_xor.hcl @@ -0,0 +1,3 @@ +bool eq = (a && b) || (!a && !b) + +bool xor = (!a && b) || (a && !b) |
