Question
a painter wants to know the amount of paint needed to paint only the walls and the interior side of the door in a room.
a painter wants to know the amount of paint needed to paint only the walls and the interior side of the door in a room. The chosen paint covers 100 square feet per gallon. There are two windows. The room is 12 feet long, 10 feet wide, and 8 feet tall. The two windows are 5 by 3 feet, and 6 by 2 feet. here is the algorithm, (1) Start (2) Calculate the total surface area of the inside walls of the room (3) Total surface area= 2(lb+bh+bl) where l is the Length, b is the Breadth, h is the Height. (4) Subtract from the Total surface area, the area of the window. (5) Divide the new Total surface area with the amount of paint per unit area. (6) Amount=Toatal surface area (TSA)/100. (7) Print the amount on screen. Trying to write the python code for the solution?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started