Question: bash script (I'm using cygwin 64) 3. Write a bash script (It must be a script file and not command line output) to create a

bash script (I'm using cygwin 64)
3. Write a bash script (It must be a script file and not command line output) to create a nested if statement to name the food Mr Smith is supposed eat in a given day. a. First your script prompt for: Mr. Smith's food eating schedule... Enter Sunday, Monday, Tuesday, Wednesday, Thursday, Friday or Saturday (User enters any of the days from the list above) b. Based on the input value the food Mr. Smith eats is displayed as below Sa'IdaBDESKTOP-SLG3AUQ Mr. Smith's food eating schedule. 'S Enter Sunday, Monday, Tuesday, Wednesday, Thursday, Friday or Saturday: Tuesday On Tuesday you must eat Fruit Note: If the user enters a unknown day, print a undefined as follows: Mr. Smith's food eating schedule. Enter Sunday, Monday, Tuesday, Wednesday, Thursday, Friday or Saturday: nomday On nomday you must eat undefined Data: Here is Mr. Smith's food schedule: Sunday = Bread Monday = Salad Tuesday = Fruit Wednesday = Pizza Thursday = Pasta Friday = Rice Saturday = Fajita
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
