Question: Perl scripting Answer ASAP! Alt 7) Write a program with subroutines that will compute the surface area and volume of a rectangular pr and side
Perl scripting Alt 7) Write a program with subroutines that will compute the surface area and volume of a rectangular pr and side a capsule shape. User must enter the length, height and width for the rectangular prism and radius length for the capsule. Have your program display the results for both computations. Use the below (30 pts.) Capsule Volume ((4/3)r +a) Surface Area = 2m(2r + a) Rectangular Prism Volume Iwh Surface Area 2(lw + lh + wh)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
