Explore Westonci.ca, the premier Q&A site that helps you find precise answers to your questions, no matter the topic. Our Q&A platform offers a seamless experience for finding reliable answers from experts in various disciplines. Join our Q&A platform to connect with experts dedicated to providing accurate answers to your questions in various fields.

Write a switch statement that prints A to the screen for x values of 1 and 3, B for values 2 and 4, C for value 5, and D for all other values.