chart-basic-calculator
v1.0.3
Published
A basic calculator for Javascript users
Downloads
1
Readme
CHART BASIC CALCULATOR
const calculator = require("chart-basic-calculator");
function multiplicationTable(number) {
for (var i = 0; i < 13; i++) {
console.log(`${i} X ${number} = ${calculator.multiply(i, number)}`);
}
}
multiplicationTable(5);
Installation
This is a Node.js module available through the npm registry.
Before installing, download and install Node.js. Node.js 0.10 or higher is required.
If this is a brand new project, make sure to create a package.json first with the npm init command.
Installation is done using the npm install command:
npm i chart-basic-calculator
Features
- Addition
- Subtraction
- Multiplication
- Division
License
MIT