Question: need help understanding (C#) please include your work Convert the following nested if-else statement to an equivalent switch statement. if (option == 1) answer =
need help understanding (C#) please include your work
Convert the following nested if-else statement to an equivalent switch statement. if (option == 1) answer = option + 5; else if (option == 3) answer = option 5; else answer = option;
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
