Question PSC-COND-0051
MediumWhat will be the output of the following pseudocode?
Integer a = 10, b = 20, c = 30
Integer m = a
if (b > m) m = b
if (c > m) m = c
if (m - a > 15)
Print m - a
else
Print m + a
end if
- A.
40
- B.
10
- C.
Sign up free to see the answer and a step-by-step explanation.