Question: KORN SCRIPT Write a script that uses a switch or case statement (depending on shell) to do the following. First ask the user for a
KORN SCRIPT
Write a script that uses a switch or case statement (depending on shell) to do the following. First ask the user for a color. If they enter anything that begins with bl or Bl, then print the sky color is (whatever the user entered).
If the user enters red or yellow, the print the sun is sometimes this color. If the user enters any other color, then enter that the color is not in any of the categories defined.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
