Problem Statement: 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. Develop a Java program that performs the following: Input Requirements: Set up the data for the following as named constants for one gallon of paint: 115 square feet of wall space eight hours of labor Also, set up a named constant for the following: $20.00 per hour for labor Enter the following input data at the keyboard: The square feet of wall space to be painted The price of the paint per gallon Processing: Your program is to perform the following calculations: 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 Output Requirements: The square feet of wall space to be painted The price of the paint per gallon 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 NOTE: Precede each of the above output data items with an appropriate message. For instance, if the user entered 3000 square feet of wall space during the inputting, then display the following: 3000 square feet of wall space needs to be painted.
Problem Statement:
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.
Develop a Java program that performs the following:
Input Requirements:
Set up the data for the following as named constants for one gallon of paint:
- 115 square feet of wall space
- eight hours of labor
Also, set up a named constant for the following:
- $20.00 per hour for labor
Enter the following input data at the keyboard:
- The square feet of wall space to be painted
- The price of the paint per gallon
Processing:
Your program is to perform the following calculations:
- 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
Output Requirements:
- The square feet of wall space to be painted
- The price of the paint per gallon
- 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
NOTE: Precede each of the above output data items with an appropriate message.
For instance, if the user entered 3000 square feet of wall space during the inputting, then
display the following: 3000 square feet of wall space needs to be painted.
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 1 images