1.0.13 • Published 2 years ago
sum-difference-multiplication-division v1.0.13
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.