Which statement transfers execution to different parts of your code based on the value of an expression?
A. Nested-if
B.if-else-if
C. If
D. Switch
Answer:D
Which statement transfers execution to different parts of your code based on the value of an expression?
A. Nested-if B.if-else-if C. If D. Switch
Explanation: Switch