Question PSC-COND-0052
MediumWhat will be printed by the following pseudocode?
Integer p = 1, q = 0
if (not (p == 1 and q == 1))
Print "A"
end if
if (not p == 1 or q == 0)
Print "B"
end if
- A.
A
- B.
Nothing is printed
- C.
Sign up free to see the answer and a step-by-step explanation.