Q6 write a program to select a color by entering the 1" letter of its name and handle the invalid letter named with " choose other letter this color not available" (note: use switch command) G Green Y Yellow W White R Red C Cyan B Blue

Microsoft Visual C#
7th Edition
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Joyce, Farrell.
Chapter5: Looping
Section: Chapter Questions
Problem 15E
icon
Related questions
Question
i need the answer quickly
06 write a program to select a color by entering the 1" letter of its name and handle the invalid letter
named with " choose other letter this color not available" (note: use switch command)
G
Green
Y
Yellow
W
White
R
Red
C
Cyan
B
Blue
Transcribed Image Text:06 write a program to select a color by entering the 1" letter of its name and handle the invalid letter named with " choose other letter this color not available" (note: use switch command) G Green Y Yellow W White R Red C Cyan B Blue
Expert Solution
steps

Step by step

Solved in 3 steps

Blurred answer
Knowledge Booster
Random Class and its operations
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,