Question PSC-OPS-0059
MediumWhat will be printed by the following pseudocode?
Integer x = 7
Boolean p = x > 5, q = x mod 2 == 0
Print p and not q, p or q, p == q
- A.
false true false
- B.
true true true
- C.
Sign up free to see the answer and a step-by-step explanation.