5d4-msd1
Version:
6 lines • 330 B
JavaScript
var calculator = require('./calc');
var x = 50, y = 10;
console.log("Addition of 50 and 10 is " + calculator.add(x, y));
console.log("Subtraction of 50 and 10 is " + calculator.sub(x, y));
console.log("Multiplication of 50 and 10 is " + calculator.mult(x, y));
console.log("Division of 50 and 10 is " + calculator.div(x, y));