of paint and eight hours of labor will be required. The company charges $18.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 data: • The number of gallons of paint required • The hours of labor required Programming Challenges • The cost of the paint • The labor charges • The total cost of the paint job Then it should display the data on the screen

Microsoft Visual C#
7th Edition
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Joyce, Farrell.
Chapter7: Using Methods
Section: Chapter Questions
Problem 17RQ
icon
Related questions
Question

Starting Out with Java From Control Structures through Objects 6th Edition

Paint Job Estimator

4. Paint Job Estimator
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 $18.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 data:
• The number of gallons of paint required
• The hours of labor required
Programming Challenges
3-
• The cost of the paint
• The labor charges
The total cost of the paint job
Then it should display the data on the screen.
Transcribed Image Text:4. Paint Job Estimator 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 $18.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 data: • The number of gallons of paint required • The hours of labor required Programming Challenges 3- • The cost of the paint • The labor charges The total cost of the paint job Then it should display the data on the screen.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Top down approach design
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT