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@trangVirtualBox: $ script
The command you entered is script
Your first input is
Your second input is
Your third input is
I will help you to add and multiply these numbers
The sum of your three inputs is
The product of your the three input is
Thank you and have a good day.
trang@trangVirtualBox: $
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
