Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Cygwin plz A playground have the following shape (See Figure 1 below) Write a bash script to a. Ask from the user for the values

image text in transcribedCygwin plz

A playground have the following shape (See Figure 1 below) Write a bash script to a. Ask from the user for the values L and W in yards, one after the other. b. Calculate and print the Area of the playground in Sq Yards. Note: Important requirement is that your script MUST work for floating point nur Result must print to 3 decimal places. Hints: Area of a Rectangle =LW Where L is the length and W is the width Area of a Circle =RR Where =3.14159 and R is the radius Here is an example run: Enter L value in yards: 250.6 Enter W value in yards: 100.8 Area of the playground: 25812.457 Sq. Yards. Drop your script code in the box below

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

Recommended Textbook for

Advanced Oracle Solaris 11 System Administration

Authors: Bill Calkins

1st Edition

0133007170, 9780133007176

More Books

Students also viewed these Databases questions

Question

6. What questions would you suggest should be included?

Answered: 1 week ago