Question: Write a python program that finds the surface area and volume of a rectangular prism. The program should ask for 3 sides of the prism

Write a python program that finds the surface area and volume of a rectangular prism.

The program should ask for 3 sides of the prism a, b, and c. These values can be fractional numbers. It should then evaluate the surface area and volume using the following formula:

Surface area: 2 (ab + ac + bc) Volume: abc

Output should be as follows:

Write a python program that finds the surface area and volume of

Sample output (User input shown in bold for easy identification): \begin{tabular}{l} Enter a:4 \\ Enter b:5 \\ Enter c:5.5 \\ Surface area: 139.0 \\ Volume: 110.0 \\ \hline \end{tabular}

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 Databases Questions!