Answered step by step
Verified Expert Solution
Question
1 Approved Answer
This question requires that you create a shell script or modify an existing shell script. You can find hundreds of sample shell scripts in /
This question requires that you create a shell script or modify an existing shell script. You can find hundreds of sample shell scripts in homeshellScripts on the CBC Linux server to use if you wish. You do NOT need to upload anything to Canvas for this question. However, you must save the script in your home directory on the CBC Linux server with the name tuition.sh I also suggest that you test your script to ensure that it executes correctly.
You must create a shell script for calculating the amount a student owes for tuition and fees. The tuition cost will be $ per credit, while the fees are a flat $ 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 reportreceipt 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 :: PST
Joe Student
Number of Credits:
Tuition: $
Fees: $
Total Owed: $
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started