Solved

Case 10-2 Kate Is Tracing Through Her Code to Find a Logical

Question 1

Multiple Choice

Case 10-2
Kate is tracing through her code to find a logical error and she thinks it has something to do with her misuse of conditional operators.Assume that the following variable assignments have been made:
a=45
b=46
c=45
d=50
e=100
-Which of the following use of conditional operators will make a true expression for Kate?


A) (a!=b) && (c >=d)
B) (e!=b) && (c >a)
C) (a!=c) || (d >=c)
D) (a >=b) || (c >=e)

Correct Answer:

verifed

Verified

Related Questions