Question: 2 . When mixed, the primary colors - red, blue, and yellow - create secondary colors - orange, green, and purple Mix yellow and red
When mixed, the primary colorsred, blue, and yellowcreate secondary colorsorange, green, and purple Mix yellow and red to get orange Mix red and blue to get purp eMix blue and yellow to get Dosign a program which prompts the user to enter two of the primary colors. If anything other than "red" "blue" or "yellow is entered, the program should display an error message. If they enter two of the same color, an error message should display Otherwise, the program should display the name of the new secondary color D Helpful Hint: you can convert any string into lowercase by using the method lower For example
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
