Question: Design a program that prompts the user to enter the names of two primary colors to mix. If the user enters anything other than red,
Design a program that prompts the user to enter the names of two primary colors to mix. If the user enters anything other than "red, " "blue, "yellow," the program should display an error message. 0therwise, the program should display the name of the secondary color that results.
Step by Step Solution
3.46 Rating (140 Votes )
There are 3 Steps involved in it
Answer The code of the program are as follow Function to mix two primary colors de... View full answer
Get step-by-step solutions from verified subject matter experts
