Question
Assume that a gallon of paint covers about 350 square feet of wall space. Finish PaintCalculator.java, which should: Calculate the wall area for a room
Assume that a gallon of paint covers about 350 square feet of wall space. Finish PaintCalculator.java, which should:
Calculate the wall area for a room
Calculate and return the number of gallons of paint needed
Display the number of gallons needed
Compute the price based on a paint price of $32 per gallon, assuming that the painter can buy any fraction of a gallon of paint at a fraction of the price of a whole gallon
The main method displays the final price. For example, the cost to paint a 15-by-20-foot room with 10-foot ceilings is $64.
Reminders
All submitted code should follow the Style Guidelines and include proper Javadoc.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started