Question: Use a variable to get input for color name. Depending upon the value of color, use that color as the foreground color for displaying a
- Use a variable to get input for color name. Depending upon the value of color, use that color as the foreground color for displaying a message of your choice. (if color is yellow, text displayed in yellow, if color is red, text displayed in red )
Get online help for changing text color in write-host.
Use at least four color names to check
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
