Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

sum-difference-multiplication-division

amrutaaa75ISC1.0.13

Here you can add ,substract,multiply and divide two numbers by writing add(a,b) ,sub(a,b),mult(a,b),div(a,b) and it will return the calculated value

sum, Addition, substract, difference, multiply, multiplication, division, maths, additionoftwonumber

readme

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.