Question: Using python IDLE: When prompting the user you must always include text which lets the user know what should be inputted. The surface area and

Using python IDLE:

When prompting the user you must always include text which lets the user know what should be inputted.

The surface area and volume of a rectangular solid are calculated using the following formulas

Using python IDLE: When prompting the user you must always include text

Write a program that prompts the user to enter values for the length (float), width (float) and height (float) for the rectangular solid.

The program should calculate and display the surface area and volume of the rectangular solid.

The surface area and volume should be formatted as fixed-point numbers with 3 decimal places.

Here is a sample run of the program:

which lets the user know what should be inputted. The surface area

Save the program in a file named rectangle.py and attach the rectangle.py file

Add the following comments to top of your .py file:

# Your name # PA_3

VOLUME AND SURFACE AREA OF A RECTANGULAR SOLID For a rectangular solid with length L, width W, and height H : Volume: V = LWH Surface Area: S = 2LH + 2LW + 2WH w Enter the length of the rectangular solid: 6.77 Enter the width of the rectangular solid: 8.1 Enter the height of the rectangular solid: 9.333 The surface area of the rectangular solid is 387.237 The volume of the rectangular solid is 511.794 VOLUME AND SURFACE AREA OF A RECTANGULAR SOLID For a rectangular solid with length L, width W, and height H : Volume: V = LWH Surface Area: S = 2LH + 2LW + 2WH w Enter the length of the rectangular solid: 6.77 Enter the width of the rectangular solid: 8.1 Enter the height of the rectangular solid: 9.333 The surface area of the rectangular solid is 387.237 The volume of the rectangular solid is 511.794

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!