Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function numberOfSeats([arg1, arg2]) {
- let lenght=parseFloat(arg1);
- let width=parseFloat(arg2);
- let colons=parseFloat(((width-1)/0,7));
- colons=Math.trunc();
- let rows=parseFloat((lenght/1,2));
- rows=Math.trunc();
- let seats=parseFloat((colons*rows)-3);
- console.log(seats);
- }
Advertisement
Add Comment
Please, Sign In to add comment