Question: Create a shell script for calculating the amount a student owes for tuition and fees. Save the script in your home directory with the name

Create a shell script for calculating the amount a student owes for tuition and fees. Save the script in your home directory with the name tuition.sh. The tuition cost will be $125 per credit, while the fees are a flat $150 per quarter. The script must do the following: - Clear the screen

- Print a box that holds the title of the program and your name. For example:

+------------------------------------------------------------------------------+ | Tuition Calculator By: L. Inux | +------------------------------------------------------------------------------+

- Prompt and read the students name - Prompt and read the number of credits for the quarter - Calculate the total tuition - Calculate the total amount owed - Print a report/receipt showing the students name, date, number of credits, total tuition, fees, and total amount owed. Tabs must be used to make the dollar amounts line up. For example: Tuition Receipt Mon April 1 08:45:33 PST 2020 Joe Student Number of Credits: 10 Tuition: $1250 Fees: $150 Total Owed: $1400

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!