Question: Write a BASH script that uses case statement to do print Agreed, Disagreed, or Invalid Input when the user is asked to respond as Y
Write a BASH script that uses case statement to do print Agreed, Disagreed, or Invalid Input when the user is asked to respond as Y or N on a question. Yes and No are also valid inputs and any combination of uppercase and lower case for all possible responses.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
