1.2.1 • Published 1 year ago
mathpackagedemo v1.2.1
'''shell
npm install npm i mathpackagedemo '''
'''javascript
const math = require('mathpackagedemo) '''
To use this module, You can perform following functions
- You can add two digits To add use following code
const addtition = math.add2Nos(no1,no2);
console.log(Addition of two numbers is ${addition}
);
- You can subtract two digits
To add use following code
const subtract = math.sub2Nos(no1,no2);
console.log(subtraction of two numbers is ${subtract}
)
- You can multiply two digits
To add use following code
const multiply = math.mult2Nos(no1,no2);
console.log(Multiple of two numbers is ${multiple}
)
- You can div two digits
To add use following code
const division = math.div2Nos(no1,no2);
console.log(Division of two numbers is ${division}
)