Question: A remodeling company needs a program to determine the number of cans of paint needed to paint a room. Write a Java program that lets

A remodeling company needs a program to determine the number of cans of paint needed to paint a room. Write a Java program that lets the user enter the paint color, and the length and width of a room in feet as integers, and then calculates the total square footage of the room, and the number of cans of paint required. The height of the room is 8 feet, and a one-gallon can of paint covers 250 square feet. Change the paint color to all lowercase. You do not need to factor in the area for doors and windows, nor the floor or ceiling. Set up finals as needed.

Here is a sample report.

Enter color.....BLue

Enter length.....10

Enter width......12

Color = blue

Square Footage = 352

Cans = 1.408

Here is some syntax that might help. Remember the code does not have to be perfect, but I am looking for the steps to be in the correct order. Code the statements that will follow main in your answer.

import java.util.Scanner;

public class Paint { public static void main(String[] args) { Scanner scan = new Scanner (System.in);

System.out.print length = scan.nextInt();

System.out.println

}

}

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!