Hello, I have seen this in Java and C++ but I am trying to learn it in Python ..
ID: 3623469 • Letter: H
Question
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 estimator
Question Details
A 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 price of the paint per gallon. It should also ask for the square feet of wall space in each room. The program should have methods that return the following:
* 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
Then it should display the data on the screen
Explanation / Answer
/** Program written by, "INSERT NAME HERE" * */ import java.util.Scanner; public class MaterialsNeeded { public static void main(String[] args) { int numRooms; int x = 0; Scanner s = new Scanner(System.in); System.out.println("How many Rooms in the home to be painted?"); numRooms = s.nextInt(); for (int i = 1; iRelated Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.