Question: Help with this C++ programming assignment You work in a printing office that the machine there can print documents in different colors. It gets an
Help with this C++ programming assignment

You work in a printing office that the machine there can print documents in different colors. It gets an integer number between 1 to 7 and prints the documents in rainbow colors, as shown in the following table: Design an algorithm and write a C++ program to do the following: - Prompt user to enter a number between 1 and 7 - Use selection structure such as if-else or switch to find the color based on the previous table - Output the color related to input number. See the sample output. - Save the output in a file named "color.txt". Sample Run Enter a number between 1 and 7:4 You have selected number 4 which is GREEN
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
