Andrew K.

asked • 12/16/20

Write a program in python that calculates the amount of paint needed to paint a room.

A room has one door, two windows, and a built-in bookshelf and it needs to be painted. Suppose one gallon of paint can paint 120 square feet. Write a program that prompts the user to input the lengths and widths of the door, each window, the bookshelf; and the length, width, and height of the room(in feet). The program outputs the amount of paint needed to paint the walls of the room.

Patrick B.

source code uploaded to RESOURCES section under this link
Report

12/17/20

2 Answers By Expert Tutors

By:

Aaron T. answered • 12/17/20

Tutor
4.8 (45)

Princeton Grad for Computer Science Tutoring

Patrick B. answered • 12/17/20

Tutor
4.7 (31)

Math and computer tutor/teacher

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.