Question PSC-COND-0078
HardWhat will be the output of the following pseudocode?
Integer a = 6, b = 4, c = 9
Integer m = (a > b) ? ((a > c) ? a : c) : ((b > c) ? b : c)
Integer n = (a < b) ? ((a < c) ? a : c) : ((b < c) ? b : c)
Print m - n
- A.
13
- B.
3
- C.
Sign up free to see the answer and a step-by-step explanation.