If Num1 = 1 and Num2 = 2, determine whether each of the following expressions is true

Question:

If Num1 = 1 and Num2 = 2, determine whether each of the following expressions is true or false.

(a) T F (Num1 == 1) OR (Num2 == 2) AND (Num1 == Num2)

(b) T F ((Num1 == 1) OR (Num2 == 2)) AND (Num1 == Num2)

(c) T F NOT (Num1 == 1) AND NOT (Num2 == 2)

(d) T F NOT (Num1 == 1) OR NOT (Num2 == 2)

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Prelude To Programming

ISBN: 9780133741636

6th Edition

Authors: Stewart Venit, Elizabeth Drake

Question Posted: