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