Question: Nested if-else statements and switch statements both allow for multi-way selection. When would it not be advisable to use a switch statement? Simple explanation please.
Nested if-else statements and switch statements both allow for multi-way selection. When would it not be advisable to use a switch statement?
Simple explanation please.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
