Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function trainingLab(input) {
- let w = parseFloat(input[0]);
- let h = parseFloat(input[1]);
- let num = (h - 1) * 100 / 70;
- let row = w * 100 / 120;
- let sum = parseInt(num) * parseInt(row) - 3;
- console.log(sum);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement