Write a shell script that does the following task: Script takes as input, Employee Name, Basic Salary, Job ID. Script should compute Travel Allowance (TA) for an employee based on following conditions: lob ID TA Computation M100 Basic Salary * 3.5 C200 Basic Salary * 2.5 A300 Basic Salary * 0.5
Write a shell script that does the following task: Script takes as input, Employee Name, Basic Salary, Job ID. Script should compute Travel Allowance (TA) for an employee based on following conditions: lob ID TA Computation M100 Basic Salary * 3.5 C200 Basic Salary * 2.5 A300 Basic Salary * 0.5
Programming with Microsoft Visual Basic 2017
8th Edition
ISBN:9781337102124
Author:Diane Zak
Publisher:Diane Zak
Chapter6: Sub And Function Procedures
Section: Chapter Questions
Problem 1MQ3
Related questions
Question
SHELL
![Write a shell script that does the following task:
Script takes as input, Employee Name, Basic Salary, Job ID.
Script should compute Travel Allowance (TA) for an employee based on following conditions:
Job ID
TA Computation
M100
Basic Salary * 3.5
C200
Basic Salary * 2.5
A300
Basic Salary * 0.5
Script should display appropriate message with the name of employee and the TA computed.](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Ffa65bd79-22d0-49a2-a25d-c707ef32691f%2F8313ff32-6345-47e0-8cd6-fa87659915d4%2Fut7gujq_processed.png&w=3840&q=75)
Transcribed Image Text:Write a shell script that does the following task:
Script takes as input, Employee Name, Basic Salary, Job ID.
Script should compute Travel Allowance (TA) for an employee based on following conditions:
Job ID
TA Computation
M100
Basic Salary * 3.5
C200
Basic Salary * 2.5
A300
Basic Salary * 0.5
Script should display appropriate message with the name of employee and the TA computed.
Expert Solution
![](/static/compass_v2/shared-icons/check-mark.png)
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps with 1 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
![Programming with Microsoft Visual Basic 2017](https://www.bartleby.com/isbn_cover_images/9781337102124/9781337102124_smallCoverImage.gif)
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
![EBK JAVA PROGRAMMING](https://www.bartleby.com/isbn_cover_images/9781337671385/9781337671385_smallCoverImage.jpg)
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
![LINUX+ AND LPIC-1 GDE.TO LINUX CERTIF.](https://www.bartleby.com/isbn_cover_images/9781337569798/9781337569798_smallCoverImage.gif)
LINUX+ AND LPIC-1 GDE.TO LINUX CERTIF.
Computer Science
ISBN:
9781337569798
Author:
ECKERT
Publisher:
CENGAGE L
![Programming with Microsoft Visual Basic 2017](https://www.bartleby.com/isbn_cover_images/9781337102124/9781337102124_smallCoverImage.gif)
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
![EBK JAVA PROGRAMMING](https://www.bartleby.com/isbn_cover_images/9781337671385/9781337671385_smallCoverImage.jpg)
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
![LINUX+ AND LPIC-1 GDE.TO LINUX CERTIF.](https://www.bartleby.com/isbn_cover_images/9781337569798/9781337569798_smallCoverImage.gif)
LINUX+ AND LPIC-1 GDE.TO LINUX CERTIF.
Computer Science
ISBN:
9781337569798
Author:
ECKERT
Publisher:
CENGAGE L
![Microsoft Visual C#](https://www.bartleby.com/isbn_cover_images/9781337102100/9781337102100_smallCoverImage.gif)
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,