John wants to decorate his room with wallpaper. He's heard that having the right amount of wallpaper can be trickier than it sounds. He'd like a fo...
For further actions, you may consider blocking this person and/or reporting abuse
My solution in Swift, I check if one parameter equal to
0.0
so it's not a room and then calculate each wall :Why the double at the beginning?
To avoid cast during the calculation but it's true I could use
Float
too.