Home / Report Question

Q. Which statement provides an easy way to dispatch execution to different parts of your code based on the value of an expression?
  • A. If
  • B. Switch
  • C. Nested-if
  • D. if-else-if