Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function fishTank (input){
- let length = Number(input[0]);
- let width = Number(input[1]);
- let height = Number(input[2]);
- let percentage = Number(input[3]);
- let sum = length * width * height * (100 - percentage) / 100000;
- console.log(sum);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement