subject

Write piece of code that reads a shorthand text description of a color and prints the longer equivalent. acceptable color b for blue, g for green, and r for red. if the user types something other than b, g, or r, the program print an error message. make your program case-insensitive so that the user can type an uppercase or lowercase letter. here are some example executions: what color do you want? b you have chosen blue. what color do you want? g you have chosen green. what color do you want?

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 11:30
Awell-diversified portfolio needs about 20-25 stocks from different categories.
Answers: 2
question
Computers and Technology, 22.06.2019 14:40
You are working with a professional edition organization. they wish to install the expense tracker which requires the use of 4 custom tabs, 3 custom objects, and one custom app. if the company is already using 4 applications, 36 custom objects, and 7 custom tabs, what will happen when they try to install expense tracker?
Answers: 1
question
Computers and Technology, 22.06.2019 19:30
When creating a presentation in libre office impress, where does the editing of slides take place? a. the slides panel b. the center panel c. the tasks panel, under the masters pages tab d. the tasks panel, under the layouts tab
Answers: 3
question
Computers and Technology, 24.06.2019 03:30
What is the purpose of a computer network needs assessment? to analyze which workers need more training to improve their performance to compare worker productivity to determine what steps employees can take to increase company revenue to evaluate how to move from the current status to the desired goal
Answers: 2
You know the right answer?
Write piece of code that reads a shorthand text description of a color and prints the longer equival...
Questions
question
Mathematics, 23.07.2019 13:30
question
Computers and Technology, 23.07.2019 13:30
Questions on the website: 13722360