Question: Create a solution that allows the user to enter the names of two primary colors to be mixed. If the user enters anything other than

Create a solution that allows the user to enter the names of two primary colors to be mixed. If the user enters anything other than red,blue, or yellow, the program should display an error message. Otherwise, the program should display the name of the secondary color that results by mixing the two primary colors.
The colors red, blue and yellow are primary colors. When you mix 2 primary colors you get the secondary colors as follows: Red and blue make purple. Red and yellow make orange. Blue and yellow make green. C++

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!