Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write and test a PyDev module named . Copy your testing to testing.txt . A contractor is asked to provide an estimate for building a

Write and test a PyDev module named . Copy your testing to testing.txt.
A contractor is asked to provide an estimate for building a simple shed with a concrete foundation and brick walls.
A Simple Shed
Write and test a program that prompts the user for the size of the shed foundation, height of its walls, the cost of concrete per m^3, and the cost of bricks per m^2, and calculate and print the amount of concrete and bricks needed, and the total cost of the materials.
Sample execution:
Foundation length (m): 4.0
Foundation width (m): 2.0
Foundation height (m): 0.6
Wall height (m): 2.5
Cost of concrete ($/m^3): 125
Cost of bricks ($/m^2): 94
Concrete needed for foundation (m^3): 4.80
Cost of concrete: $600.00
Bricks needed for walls (m^2): 30.00
Cost of bricks: $2,820.00
Total cost: $3,420.00
Run the program with three different sets of inputs. Print the results to 2 decimal places with the comma as the thousands separator.
Partial testing:
Test t05.py:
No file chosen

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

Business Process Driven Database Design With Oracle PL SQL

Authors: Rajeev Kaula

1st Edition

1795532386, 978-1795532389

More Books

Students also viewed these Databases questions

Question

11. Are your speaking notes helpful and effective?

Answered: 1 week ago

Question

The Goals of Informative Speaking Topics for Informative

Answered: 1 week ago