Question PSC-COND-0048
MediumWhat will be the output of the following pseudocode?
Integer a = 5, b = 10
if (a > b)
a = a - b
else
b = b - a
end if
if (a == b)
Print "same", a
else
Print a, b
end if
- A.
-5 10
- B.
5 5
- C.
Sign up free to see the answer and a step-by-step explanation.