Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function danceHall(input) {
- let l = Number(input[0]);
- let w = Number(input[1]);
- let a = Number(input[2]);
- let sum = l * w - (l * w / 10) - a * a;
- let dancers = Math.floor(sum / 0.7040);
- console.log(dancers);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement