Advertisement
Spocoman

Dance Hall

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