Skip to content

Instantly share code, notes, and snippets.

@Abedin022
Last active November 13, 2018 05:55
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 Abedin022/5bca348aa0123c52a5904e576d65aeb9 to your computer and use it in GitHub Desktop.
Save Abedin022/5bca348aa0123c52a5904e576d65aeb9 to your computer and use it in GitHub Desktop.
Addition, Subtraction, Multiplication & Division
let x = parseInt(process.argv[2]);
let y = parseInt(process.argv[3]);
console.log("Add:", x+y, "Sub:", x-y, "Mul:", x*y, "Div:", x/y);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment