Question: Create a new Java project named yourFirstInitialLastNameHW06_Flooring . Cause this program to loop providing estimates of multiple rooms, one room at a time. For example,

Create a new Java project named yourFirstInitialLastNameHW06_Flooring.

Cause this program to loop providing estimates of multiple rooms, one room at a time. For example, do an estimate of the kitchen, then if desired, do an estimate of the master bathroom...

When the program terminates, compose/concatenate a statement to the user summarizing the job; number of rooms and the grand total cost.

This program must take measurements of a room where new flooring is to be installed. Most rooms are rectangular shaped to two dimensions may be enough. Suggestion; round to the nearest square foot since that is how flooring is sold.

Create an attractive, easy to understand menu that displays the following choices:

Tile: $12.00 / square foot

Stone $15.00 / square foot

Hardwood $7.00 / square foot

Carpet $4.00 / square foot

Linoleum $2.50 / square foot

Ask the user to choose a type of flooring and store that choice in a variable. Feel free to accept a String-type value, but a [menu] number is very simple.

Calculate the square footage of the room and the cost of the materials, then the cost of installation at $6.00 per square foot.

Itemize these costs, in a neat, attractive output to the user. In the output, include the material chosen, the cost per square foot of that material, the total cost of the material, the cost of installation and the grand total. Use an instance of Java's DecimalFormat class to format the costs as currency.

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!