using switch in js

the program demonstrates the usage of the switch statement in javascript