cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
user name:
password:
Forgot your password?
please wait
try again
cancel
forgot your password?
sign up
log in
[Legacy version]
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
write a function
write a function
Aug 30, 2013 at 2:25am
Aug 30, 2013 at 2:25am UTC
AjamDleader
(3)
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
Aug 30, 2013 at 2:36am UTC
closed account (
S6k9GNh0
)
1
2
3
float
TileNeeded(
float
x,
float
y) {
return
(x+y)*2 / 50; }
Topic archived. No new replies allowed.