# Application to calculate area of floor and price of tile

Page 1 of 1

## 1 Replies - 4428 Views - Last Post: 09 September 2007 - 11:41 AMRate Topic: //<![CDATA[ rating = new ipb.rating( 'topic_rate_', { url: 'http://www.dreamincode.net/forums/index.php?app=forums&module=ajax&section=topics&do=rateTopic&t=32952&amp;s=92f4e6b30fe1921ce7de099b17ed9eec&md5check=' + ipb.vars['secure_hash'], cur_rating: 0, rated: 0, allow_rate: 0, multi_rate: 1, show_rate_text: true } ); //]]>

### #1 Miami Angel

Reputation: 0
• Posts: 1
• Joined: 09-September 07

# Application to calculate area of floor and price of tile

Posted 09 September 2007 - 11:27 AM

I need to create an application that allows the user to enter the length and width in feet of the flooring area and the price of a square foot of tile. The application will then calculate and display the area of the floor and the total price of all the tile needed.

Thanks for any input,
Angel
Is This A Good Question/Topic? 0

## Replies To: Application to calculate area of floor and price of tile

### #2 PsychoCoder

Reputation: 1645
• Posts: 19,853
• Joined: 26-July 07

## Re: Application to calculate area of floor and price of tile

Posted 09 September 2007 - 11:41 AM

Then you need a user interface with 2 textboxes, one for base, one for height. Then calculate the area, which is base * height. To get the cost of the time (based on price per square foot) multiple the total from calculating the area of the square by the cost per square foot area * price.

There are of course different equations for different shapes.