Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a program to calculate how many ceramic floor tiles are needed to cover a rectangular room. Also calculate the total cost to redo the

Write a program to calculate how many ceramic floor tiles are needed to cover a rectangular room. Also calculate the total cost to redo the floor in the room. Prompt the user for inputs using methods from the option pane class or scanner class.

Inputs Length of the room Width of the room Cost of one ceramic floor tile

Assumptions You have selected a 12 by 12 (one foot by one foot) square ceramic floor tile Room measurements are in feet, so you wont have a room that is 8 feet 2 inches by 10 feet 10 inches

Outputs: Length of the room Width of the room Cost of one floor tile Square feet to be tiled Number of floor tiles needed Total cost of the floor tiles

My Output: Floor tile calculator Enter length of the room: 10 Enter width of the room: 8 Enter the cost of a floor tile: 3.25 Calculations complete

************* Length: 10 Width: 8 Cost per Tile: $3.25 Area: 80 square feet Number of floor tiles needed: 80 Total cost of floor tiles $260.0 Process Completed

Process Completed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

Most Stack using do not appear to the user. discuses this.

Answered: 1 week ago

Question

1. To understand how to set goals in a communication process

Answered: 1 week ago

Question

What type of account is Finished Goods Inventory

Answered: 1 week ago

Question

Develop a program for effectively managing diversity. page 303

Answered: 1 week ago

Question

List the common methods used in selecting human resources. page 239

Answered: 1 week ago