Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Part 1 Write a bash script (t must be a script file and not command line output) to: Step 1: Enter two numbers one after

image text in transcribed

Part 1 Write a bash script (t must be a script file and not command line output) to: Step 1: Enter two numbers one after the other like this: Enter first number Enter second number Read the above two inputs into two variables Step 2: Then calculate the sum, difference, multiplication and the division of the two numbers and create the following output with no precision required Example: Assume you entered 12 and 7 in Step 1.then you must print 2+7-19 12-7-5 12 7-84 12/7 1 Part 2 Copy and paste the code in question 1 to a separate file. We will need that file later Now modify the exercise in 1 in second file, to print the result with precision Your result must show this 127 19 12-75 127 84 12/7 1.7142857142

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

| In what ways am 1 striving to make their lives better?

Answered: 1 week ago