Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

/home/userXYZ/ECE15/Labl> logic abc Enter integers a, b, c: 7 42 0 la II !b++ &&

ID: 3589537 • Letter: #

Question

/home/userXYZ/ECE15/Labl> logic abc Enter integers a, b, c: 7 42 0 la II !b++ && c: False (a-l b/2)&& (c2) False (a-- II-b) && (c+-2): True a 11 ! (b && --c): True /home/userXYZ/ECE15/Lab1> logic abc Enter integers a, b, c: 10 0 1000 la I btt &&c; True (a-1 II b/2)&&(c2): True (a-- II-b) && (c+-2): True a ll ! (b && --c) : True Extra Credit (15 points) Are there values of a, b, and c that would make all the results False? Submit your answer to this question as a comment in your program. Please explain clearly how you have arrived at this answer. Hint: It may be useful to start with the last expression and work backwards.

Explanation / Answer

Let me know if you have any doubts.

For false statement step by step solution,

!a || !b++ && c
!-7 || !42++ && 0
False || False && False

False
(a-1 || b/2) && (c*=2)
(-7-1 || 42/2) && (0*=2)
(-8 || 21) && 0
True && False
False