parallelogram-area
Get the
area of a parallelogram
, given the base and height
Install
$ npm install --save parallelogram-area
Usage
const parallelogramArea = console// => 10.925 console// => 1 console// => 9.42477796076938 console// => Error: Invalid input. Sides of the parallelogram must be greater than 0 console// => Error: Invalid input. Sides of the parallelogram must be greater than 0
License
MIT © Nicolás Quiroz