Skip to content

This is a module that gives you the area of various figures when you call its functions with an argument(s)

Notifications You must be signed in to change notification settings

nautyvaibhav/area-of-figures-npm-package

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

area-of-figures-npm-package

This is a module that gives you the area of various figures when you call its functions with an argument(s)

In Node :

let area = require('area-of-figures')

Examples:

area.square(2);  //4
area.circle(2);  // 12.56

Functions available:

square(side)

circle(radius)

triangle(base,height)

trapezium(a,base,height)

ellipse(a,b)

parallelogram(a,b)

sector(radius,theta)

Happy Coding !!!

Cheers :)

About

This is a module that gives you the area of various figures when you call its functions with an argument(s)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published