subject

The colors red, blue, and yellow are known as the primary colors because they cannot be made by mixing other colors. when you mix two primary colors, you get a secondary color: when you mix red and blue, you get purple. when you mix red and yellow, you get orange. when you mix blue and yellow, you get green. design a program that prompts the user to enter the names of two primary colors, one at a time. if the user enters anything other than "red," "blue," or "yellow," the program should print "you didn't input two primary colors." otherwise, it should print something in the format: "when you mix red and blue, you get purple." (assuming the user entered "red" and "blue”.)

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 22:40
Write a program that defines symbolic names for several string literals (chars between quotes). * use each symbolic name in a variable definition. * use of symbolic to compose the assembly code instruction set can perform vara = (vara - varb) + (varc - vard); ensure that variable is in unsigned integer data type. * you should also further enhance your symbolic logic block to to perform expression by introducing addition substitution rule. vara = (vara+varb) - (varc+vard). required: debug the disassembly code and note down the address and memory information.
Answers: 3
question
Computers and Technology, 23.06.2019 02:00
In the context of an internet connection, llc stands for leased line connection liability limited company local loop complex local loop carrier
Answers: 1
question
Computers and Technology, 23.06.2019 22:30
Janice usually works on a particular workbook that contains all business related data. she decides to keep a backup of all the data in a separate workbook. she opens a new workbook to transfer the data. which option should she use to copy all the data from one workbook to another workbook?
Answers: 1
question
Computers and Technology, 24.06.2019 08:10
Where are american poets found in the dewey decimal system
Answers: 1
You know the right answer?
The colors red, blue, and yellow are known as the primary colors because they cannot be made by mixi...
Questions
question
Mathematics, 11.09.2019 03:20