Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a bash script to Read the values for b1, b2, h and L and then calculate and print the volume of the trapezoidal prism

Write a bash script to Read the values for b1, b2, h and L and then calculate and print the volume of the trapezoidal prism to 4 decimal places. Here is an example run: ================================ Author: Print Your Name Here ================================ Enter base (b1): 3.4 Enter base (b2): 6.2 Enter base (h) : 4.5 Enter base (L) : 5.5 Volume of the Trapezoidal Prism = 118.8000 cubic units.

Volume of a trapezoldal Prism = 1/2 (b1+b2) x h x L

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

Database Design For Mere Mortals

Authors: Michael J Hernandez

4th Edition

978-0136788041

More Books

Students also viewed these Databases questions

Question

Identify the critical elements in a performance management system

Answered: 1 week ago

Question

Identify the skills necessary for effective coaching

Answered: 1 week ago