Welcome to Westonci.ca, the ultimate question and answer platform. Get expert answers to your questions quickly and accurately. Get precise and detailed answers to your questions from a knowledgeable community of experts on our Q&A platform. Get quick and reliable solutions to your questions from a community of experienced experts on our 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)
}
Thanks for using our platform. We aim to provide accurate and up-to-date answers to all your queries. Come back soon. Thank you for choosing our platform. We're dedicated to providing the best answers for all your questions. Visit us again. Westonci.ca is here to provide the answers you seek. Return often for more expert solutions.