How do I write a switch statement that displays "hello", "goodbye", and "Have a nice day"?

In which language?