Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function study([length, width]){
- let rows = Math.floor((length * 100) / 120);
- let cols = Math.floor(((width * 100) - 100) / 70);
- let seats = rows * cols - 3;
- console.log(seats)
- }
- study([15, 8.9])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement