Advertisement
Guest User

Room

a guest
Feb 23rd, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function study([length, width]){
  2.     let rows = Math.floor((length * 100) / 120);
  3.     let cols = Math.floor(((width * 100) - 100) / 70);
  4.     let seats = rows * cols - 3;
  5.     console.log(seats)
  6. }
  7.  
  8. study([15, 8.9])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement