Question PSC-OPS-0052
MediumWhat will be printed by the following pseudocode?
Integer n = 7
String r = (n mod 2 == 0) ? "even" : (n > 5 ? "big odd" : "small odd")
Print r
- A.
odd
- B.
big odd
- C.
Sign up free to see the answer and a step-by-step explanation.