sum-difference-multiplication-division

1.0.13 • Public • Published

sum-difference-multiplication-division

Here you can add ,substract,multiply and divide two numbers by writing add(a,b) ,sub(a,b),mult(a,b),div(a,b) ,i know its a easy task but this is my package which is available on npm you can use or download it by writing

npm i sum-difference-multiplication-division

add(a,b)

Params
Number a: The first number,
Number b: The second number.
Return(a+b)
Number The sum of the two numbers.

sub(a,b)

Params
Number a: The first number,
Number b: The second number.
Return(a-b)
Number The differnce of the two numbers.

mult(a,b)

Params
Number a: The first number,
Number b: The second number.
Return(a*b)
Number The multiplication of the two numbers.

div(a,b)

Params
Number a: The first number,
Number b: The second number.
Return(b/a)
Number The division of the two numbers.

Package Sidebar

Install

npm i sum-difference-multiplication-division

Weekly Downloads

0

Version

1.0.13

License

ISC

Unpacked Size

1.76 kB

Total Files

3

Last publish

Collaborators

  • amrutaaa