Paint Job Estimator A painting company has determined that f

Paint Job Estimator

A painting company has determined that for every 112 square feet of wall space, one gallon of paint and eight hours of labor will be required. The company charges $35.00 per hour for labor. Write a program that asks the user to enter the square feet of wall space to be painted and the price of the paint per gallon. The program should display the following data:

• The number of gallons of paint required
• The hours of labor required
• The cost of the paint
• The labor charges
• The total cost of the paint job.

You must design functions for main, gallons required, labor required, cost of the paint, labor charges, and total cost of the paint job. Other functions can be used if needed.

in pythong language

Solution

def main():
    square_footage = input(\'Enter the number of square feet to be painted: \')
    price_gallon = input(\'Enter the price of the paint per gallon: \')

estimate(square_footage, price_gallon)

def estimate(square_footage, price_gallon):
num_gallons = square_footage/112
hours_labor = num_gallons * 8
total_price_gallon = num_gallons * price_gallon
total_labor = hours_labor * 35
final_total = total_price_gallon + total_labor
print (\'The total estimated price for this paint job is $\'), final_total

main()

Paint Job Estimator A painting company has determined that for every 112 square feet of wall space, one gallon of paint and eight hours of labor will be require

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site