Question: Write a script that represents a simple command line calculator. It will accept two numbers from command line, and then display sum, difference and product

Write a script that represents a simple command line calculator. It will accept two numbers from

command line, and then display sum, difference and product of these two numbers. Provide script code

and screenshot of script runs. See a sample output below. (10 pts)

Hint: use $[ ] to force numeric calculation; example: $[$num1+$num2]

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!