Question: Create a script file that will display the script name, the first three user's inputs. The script will not only calculate sum of the three

Create a script file that will display the script name, the first three user's inputs. The script will not only calculate sum of the three inputs but also the product of the three inputs. Below is the sample when you run the script:
trang@trang-VirtualBox: $ script3589
The command you entered is script3
Your first input is 5
Your second input is 8
Your third input is 9
I will help you to add and multiply these numbers
The sum of your three inputs is 22
The product of your the three input is 360
Thank you and have a good day.
trang@trang-VirtualBox: $
Create a script file that will display 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 Programming Questions!