Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function Trapezoids(args) {
- var a = +args[0],
- b = +args[1],
- h = +args[2],
- area = (h*(a+b)/2).toFixed(7);
- console.log(area);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement