in python 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
out put
Enter square feet to be painted: 120
Enter price per gallon of paint: 5
Gallons of paint: 2
Hours of labor: 16
Paint charges: $10.00
Labor charges: $560.00
Total cost: $570.00
Here is the Python Code for the Paint Job Estimator
def askForWallSpace():
userWallSpace=float(input("Enter the Square of Feet Wall Space"+ \ "to be Painted : "))
return userWallSpace
def askForPriceForPaint():
pricePaint=float(input("Enter the Price of Paint : "))
return pricePaint
def calculatePaintRequired(userWallSpace):
paintReq = (userWallSpace/112)*1
return paintReq
def calculateHoursofLabourRequored(userWallSpace):
hoursLaborReq = (userWallSpace/112)*8
return hoursLabourReq
def calculateCostofPaint(pricePaint, gallonsOfPaintRequired):
costOfPaint = gallonsOfPaintRequired * pricePaint
return costOfPaint
def calculateLabourCharges(HoursOfLabourRequired):
charge_per_hour=35.0
labourCharges= HoursOfLabourRequired * charge_per_hour
return labourCharges
def calculateTotalCostPaintJob(labourCharges,costPaint):
totalCost= labourCharges + costPain
return totalCost
def main():
userWallSpace = askForWallSpace()
in python A painting company has determined that for every 112 square feet of wall space,...
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. Use a function (or multiple functions if you want) to calculate the following values - you also need to output...
A painting company has determined that for every 110 square feet of wall space, one gallon of paint and eight hours of labor will be required. The company charges $25.00 per hour for labor. Write a modular program that allows the user to enter the number of rooms that are to be painted (different colors) and the price of the paint per gallon. It should also ask for the square feet of wall space in each room. Rooms and gallons...
A painting company has determined that to paint 115 square feet of wall space, the task will require one gallon of paint and 8 hours of labor. The company charges $20.00 per hour for labor. Design a modular program that asks the user to enter the number of square feet of wall space to be painted and the price of paint per gallon. The program should then calculate and display the following data: The number of gallons of paint required...
A painting company has determined that for every 115 square feet of wall space, one gallon of paint and eight hours of labor will be required. The company charges $20.00 per hour for labor. Write a program that allows the user to enter the number of rooms to be painted and the price of the paint per gallon. It should ask for the square feet of wall space in each room. The program should have methods that return the following...
Tasks: Complete the following programs noted below: Problem 1: A painting company has determined that for 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 paint per gallon. The program should display the following data: The use of functions is required....
PLEASE HELP WITH CODE PYTHON
BASE.!!!!!!!!
Tasks: Complete the following programs noted below: Problem 1: A painting company has determined that for 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 paint per gallon. The program should display the following data:...
I need help making a javascript program to do the following: 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 and $15.00 for a gallon of paint. Write a function that takes in the number of square feet of wall space and displays the following data: The number of gallons of paint required The hours...
Hello, I have seen this in Java and C++ but I am trying to learn it in Python ..any help on the code would be great..ThanksPaint job estimatorQuestion DetailsA painting company has determined that for every 115 square feet or wall space, one gallon of paint and eight hours of labor will be required. The company charges$20.00 per hour for labor . Write a program that allows the user to enter the number of rooms to be painted and the...
This exercise requires designing a program which solves the problem described in the problem statement below. Provide comments as necessary in your pseudo-code and the Java program. Your solution must include these components: Flowchart Pseudo-code Hierarchy Chart Program Coded Program Output Problem Statement A painting company has determined that to paint 115 square feet of wall space, the task will require one gallon of paint and 8 hours of labor. The company charges $20.00 per hour for labor. Design a...
I need to write a paint job estimator program in python. I have most of it down but i keep getting errors and I dont know how to fix it or what im doing worng specs: A painting company has determined that for every 350 square feet of wall space, one gallon of paint and six hours of labor are required. The company charges $62.25 per hour for labor. Write a program call paintjobestimator.py that asks the user to enter...