• Register
Welcome to PAQ book, where you can ask any questions related to ABROAD
PAQBOT gives immediate answer links

JAVA PROGRAMMING QUESTION

0 votes
724 views
Cost of Room Painting: Assume that a gallon of paint covers about 350 square feet of wall space. Create an application with a main () method that prompts the user for the length, width and height of a rectangular room. Pass these three values to a method that does the following
(a)Calculates the wall area for a room
(b)Pass the wall area to another method , that calculates and returns number of gallons of paint needed.
(c)Displays number of gallons needed
(d)Calculate the cost of painting at a price of $32 per gallon. ( Include fractions)
(e)Return the price to the main method and display the final price
Ex.The cost of painting a 15 by 20 by 10 feet room is $64.
asked Jun 19, 2014 in Study by swetha (180 points)

Answers by PAQBOT

PAQ Bot suggests below links for a relevent answer:

1 Answer

0 votes
This is the best tutorial I found to learn Java.

https://www.youtube.com/watch?v=3u1fu6f8Hto

Check it out and solve your question-
answered Jul 1, 2014 by Naveen (180 points)
...