Skip to content

Instantly share code, notes, and snippets.

@tanveer19
Last active October 5, 2018 22:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tanveer19/6bb311c9bce9d241a054453c6aacaf7d to your computer and use it in GitHub Desktop.
Save tanveer19/6bb311c9bce9d241a054453c6aacaf7d to your computer and use it in GitHub Desktop.
addition, subtraction, multiplication, division using nodejs
let x = parseInt(process.argv[2]);
let y = parseInt(process.argv[3]);
console.log(x+y);
console.log(x-y);
console.log(x*y);
console.log(x/y);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment