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

Other questions on the subject: Computers and Technology

image
Computers and Technology, 21.06.2019 22:00, clairajogriggsk
Signal sets company contracts to deliver one hundred 52-inch plasma high-definition television sets to a new retail customer, tuner tv store, on may 1, with payment to be made on delivery. signal tenders delivery in its own truck. tuner's manager notices that some of the cartons have scrape marks. tuner's owner phones signal's office and asks whether the sets might have been damaged as they were being loaded. signal assures tuner that the sets are in perfect condition. tuner tenders signal a check, which signal refuses, claiming that the first delivery to new customers is always for cash. tuner promises to pay the cash within two days. signal leaves the sets with tuner, which stores them in its warehouse pending its "grand opening sale" on may 15. two days later, tuner's stocker opens some of the cartons and discovers that a number of the sets are damaged beyond ordinary repair. signal claims tuner has accepted the sets and is in breach by not paying on delivery. will signal succeed on these claims? explain.
Answers: 1
image
Computers and Technology, 22.06.2019 11:40, silviamgarcia
Pthreads programming: create and terminate a thread write a c++ program that creates a thread. the main will display a message “hello world from the main”. the main will create a thread that will display a message “hello world from the thread” and then terminates with a call to pthread_exit()
Answers: 3
image
Computers and Technology, 24.06.2019 22:30, jadelovell21
The a great imaginary circle, or reference line, around earth that is equally distant from the two poles and divides earth into the northern and southern hemispheres.
Answers: 1
image
Computers and Technology, 25.06.2019 21:30, haidenmoore92
1. when you save documents or download software to your computer, where are the files most likely stored? a. on the hard drive b. on the software c. on the operating system d. on the central processing unit
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 in other subjects: