Q13. Write a program to display the color of the spectrum(VIBGYOR) according to the user's choice.

  • Enter a letter from VIBGYOR:
  • The corresponding color is: