Question: Write a bash script to read two real numbers from the user and output the results of the four operations, as shown in the example

Write a bash script to read two real numbers from the user and output the results of the four operations, as shown in the example below:
Enter 1st value :
8.2
Enter 2nd value :
3.5
Result of + is 11.7
Result of - is 4.7
Result of * is 28.70
Result of / is 2.34
Write a bash script to read two real numbers from

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!