Skip to content

An argument based calculator in nodejs. The code takes arguments from terminal and then depending on arguments gives you the output.

Notifications You must be signed in to change notification settings

Jasmine-Shaikh/Node-js-Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Node.js Calculator

An argument based calculator in nodejs. The code takes arguments from terminal and then depending on arguments gives you the output.

How to use

node index.js operation value1 value2

Addition / Substraction / Multiplication / Division

node index.js operation value1 value2

eg. node index.js add 4 2
eg. node index.js sub 4 2
eg. node index.js mult 4 2
eg. node index.js divide 4 2

Sin / Cos / Tan

node index.js operation value1

eg. node index.js sin 40
eg. node index.js cos 40
eg. node index.js tan 40

Random

node index.js random 

About

An argument based calculator in nodejs. The code takes arguments from terminal and then depending on arguments gives you the output.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published