Discover the answers you need at Westonci.ca, a dynamic Q&A platform where knowledge is shared freely by a community of experts. Get quick and reliable solutions to your questions from a community of seasoned experts on our user-friendly platform. Explore comprehensive solutions to your questions from a wide range of professionals on our user-friendly platform.
Sagot :
Answer:
Answered below
Explanation:
#Program is written in Python.
sq_feet = int(input ("Enter paint area by square feet: ")
gallons = float(input (" Enter number of gallons: ")
paint_job_cost(sq_ft, gallons)
#Function
def paint_job_cost(sq_ft, gal){
gallon_cost = 0
cost_per_hour = 35
if sq_ft <= 2000:
gallon_cost = 9.53
else:
gallon_cost = 10.50
paint_cost = gal * gallon_cost
labour_hours = 8 * (sq_ft/112)
total_labour_cost = labour_hours * cost_per_hour
hazard_fee = 0.075 * paint_cost
total_cost = paint_cost + total_labour_cost + hazard fee
print (paint_cost)
print(labour_hours)
print (total_labour_cost)
print (hazard_fee)
print(total_cost)
}
Thank you for visiting our platform. We hope you found the answers you were looking for. Come back anytime you need more information. We hope you found this helpful. Feel free to come back anytime for more accurate answers and updated information. Keep exploring Westonci.ca for more insightful answers to your questions. We're here to help.