Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Systems Design Implementation And Management

Authors: Carlos Coronel, Steven Morris

14th Edition

978-0357673034

More Books

Students also viewed these Databases questions

Question

What types of nonverbal behavior have scholars identifi ed?

Answered: 1 week ago