Question: Linux TASK 1 Write a shell script called discovery7 that prompts the user for a grade between 0 and 100. The shell script should determine

Linux

TASK 1

Write a shell script called discovery7 that prompts the user for a grade between 0 and 100. The shell script should determine the correct letter grade for the numerical grade based on the following grading system. (Hint: use Table 7-5)

A = 90 100

B = 80 < 90

C = 70 < 80

D = 60 < 70

F = <60

The script should then display The letter grade is: to the user.

TASK 2

Add code to the shell script so that it continues to prompt the user for grades until the user chooses to exit the shell script.

TASK3

Take two screen snips:

One showing all the lines in the script (use vi or cat)

One showing the results of running the script

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!