From d79f745691f6aed2dafffc0fd3818e2897998ed6 Mon Sep 17 00:00:00 2001 From: zleyyij <75810274+zleyyij@users.noreply.github.com> Date: Wed, 18 Sep 2024 11:22:12 -0600 Subject: [PATCH] vault backup: 2024-09-18 11:22:12 --- education/software development/ECE1400/Chapter.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/education/software development/ECE1400/Chapter.md b/education/software development/ECE1400/Chapter.md index 557d869..dcddfba 100644 --- a/education/software development/ECE1400/Chapter.md +++ b/education/software development/ECE1400/Chapter.md @@ -18,7 +18,11 @@ c. `i = 5; j = 0; k = -5;` ```c printf("%d", i && j || k); -// Expected output: `1`, because i && j should evaluate to false, +// Expected output: `1`, because i && j should evaluate to 0, but `0 || 1` should evalulate to true. ``` -d. `` \ No newline at end of file +d. `i = 1; j = 2; k = 3;` +```c +printf("%d", i < j || k); + +``` \ No newline at end of file