Convert the following if-else-if statement to its equivalent…

Questions

Cоnvert the fоllоwing if-else-if stаtement to its equivаlent switch stаtement. if (x == 15 || x == 20) {     y = 2 * x; } else if (x == 23) {     y = x - 2; } else {     x = x + 5; }