Question: 3 . Please write a bourne shell script that asks the user for a score. If the score is between 9 0 and 1 0

3. Please write a bourne shell script that asks the user for a score. If the score is between 90 and 100, then print you got A, else if between 80 and 90, then you got B and so on. If less than 60, then you failed. If the user enters number not between 0 and 100, then print the error message and exit the script. Modify this script such that the user runs it with a number between 0 and 100 as an argument to the script and not ask the user for the score.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!