write a function

Aug 30, 2013 at 2:25am
function TileNeeded(float, float) , that receives the area to be tiled and the size of the tile in centimeter square. Then calculate and returns the number of the tiles required to tile the whole room.

Aug 30, 2013 at 2:36am
closed account (S6k9GNh0)
1
2
3
float TileNeeded(float x, float y) {
    return (x+y)*2 / 50;
}
Topic archived. No new replies allowed.