What is the difference between switch and if else statements? Which is better in different cases? Why?
Can we execute two different cases by taking two options at a time in switch() without running a do-while loop two times?