Question PSC-COND-0065
HardWhat is the output of this pseudocode?
Integer a = 4, b = 9, c = 4
if (a == b and b == c)
Print 3
else if (a == b or b == c or a == c)
Print 2
else
Print 0
end if
- A.
0
- B.
3
- C.
Sign up free to see the answer and a step-by-step explanation.