Programming Knowledge: Write a switch statement that will examine the value of a char-type variable called color and print one of the following massages, depending on the character assigned to color.
![Decision Making in R Programming - if, if-else, if-else-if ladder, nested if-else, and switch - GeeksforGeeks Decision Making in R Programming - if, if-else, if-else-if ladder, nested if-else, and switch - GeeksforGeeks](https://media.geeksforgeeks.org/wp-content/uploads/20200621113857/RSWITCH.png)
Decision Making in R Programming - if, if-else, if-else-if ladder, nested if-else, and switch - GeeksforGeeks
![Dockable Case Protective Cover Case for Nintendo Switch with R+L Joy Con Controller Cover plates|Cases| - AliExpress Dockable Case Protective Cover Case for Nintendo Switch with R+L Joy Con Controller Cover plates|Cases| - AliExpress](https://ae01.alicdn.com/kf/HTB1O.nsJQOWBuNjSsppq6xPgpXaf/Dockable-Case-Protective-Cover-Case-for-Nintendo-Switch-with-R-L-Joy-Con-Controller-Cover-plates.jpg_Q90.jpg_.webp)
Dockable Case Protective Cover Case for Nintendo Switch with R+L Joy Con Controller Cover plates|Cases| - AliExpress
![Switch Statement From Hell. This is production code (names changed) from a corporate webapp. This was recently written by the senior dev that reviews my code. : r/programminghorror Switch Statement From Hell. This is production code (names changed) from a corporate webapp. This was recently written by the senior dev that reviews my code. : r/programminghorror](https://i.redd.it/gnqy6nxw0qa51.jpg)