Question PSC-COND-0080
HardWhat will be printed by the following pseudocode?
Integer a = 0, b = 5
if (a != 0 and b / a > 1)
Print "x"
else if (a == 0 or b / a < 1)
Print "y"
end if
Print a + b
- A.
Division by zero error
- B.
x 5
- C.
Sign up free to see the answer and a step-by-step explanation.