Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I'm stuck with the coding, the input if the perimeter and area. Problem Description: You have a house with a basement and you need to

I'm stuck with the coding, the input if the perimeter and area. image text in transcribed
Problem Description: You have a house with a basement and you need to paint the floor with a water proofing sealant. The floor is rectangular but it also has a circular water heater and a rectangular furnace in place on the floor. The water heater area and the furnace area are to be excluded from the paintable area calculation. You are able to measure the floor in units of feet, but the furnace and water heater measurements are in inches. Furthermore, you are only able to measure the circumference of the water heater in inches. Your program should input the data and compute and output the net paintable area in square feet. Write an IPO Python program and turn in as directed by your GTA. Make sure your program runs and produces the output below exactly as shown. User input is in bold. Enter floor length (feet): 27.5 Enter floor width (feet) : 22.9 Enter the furnace length (inches): 42 Enter the furnace width (inches) : 23 Enter the water heater circumference (inches) : 75 Net floor area (square feet): 619.93 Your net floor area value must be correctly rounded to two decimal. places using the rounding method shown in lecture: int (100 netArea +0.5)/100

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

101 Database Exercises Text Workbook

Authors: McGraw-Hill

2nd Edition

0028007484, 978-0028007489

More Books

Students also viewed these Databases questions