Which branching statement can easily handle complicated nested decisions?

  • ASwitch
  • BIf else
  • CElse if
  • DAll of them
Show answerHide answer

Correct answer A

Switch handles multiple discrete values of a variable more clearly than nested if-else statements. It improves readability and structure in complicated decision-making scenarios.