Microsoft
MB6-890 · Question #60
You need to determine the output of the following: int i - 25; str output = "A"; if (i > 10) { if (i < 20) { output = "B"; } else { output - "C"; } info(output); } if (i > 20) { if (i > 50) { Output…
The correct answer is B. B. See the full explanation below for the reasoning.
Question
You need to determine the output of the following:
int i - 25; str output = "A"; if (i > 10) { if (i < 20) { output = "B"; } else { output - "C"; } info(output); } if (i > 20) { if (i > 50) { Output = “D” ; } Else output = "E"; } } info (output) ; What is the output in the Infolog after running the code?
Options
- AA
- BB
- CC
- DB
How the community answered
(57 responses)- A4% (2)
- B72% (41)
- C7% (4)
- D18% (10)
Community Discussion
No community discussion yet for this question.