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

In which language?

To write a switch statement that displays different strings based on different conditions, you need to specify the programming language you are using. The syntax for switch statements can vary between languages. Please mention the programming language you are working with so that I can provide you with the appropriate syntax and explanation.