1.0.2 • Published 6 years ago
com.kannareddy.js.packages.calculator v1.0.2
Calculator Package
This package contains all 4 Arithmetic Modules, they are 1. AdditionModule.js 2. SubtractionModule.js 3. MultiplicationModule.js 4. DivisionModule.js
AdditionModule
This module has Addition class and the class conatins Add() method
Add()
Just pass two or more Arguments to the method as a INPUT like Add(x, y), then you get OUTPUT x+y
SubtractionModule
This module has Subtraction class and the class conatins Subtract() method
Subtract()
Just pass two or more Arguments to the method as a INPUT like Subtract(x, y), then you get OUTPUT x-y
MultiplicationModule
This module has Multiplication class and the class conatins Multiply() method
Multiply()
Just pass two or more Arguments to the method as a INPUT like Multiply(x, y), then you get OUTPUT x*y
DivisionModule
This module has Multiplication class and the class conatins Multiply() method
Divide()
Just pass two or more Arguments to the method as a INPUT like Divide(x, y), then you get OUTPUT x/y