diff --git a/calculator.js b/calculator.js index 713036a..87fa2dc 100644 --- a/calculator.js +++ b/calculator.js @@ -20,3 +20,7 @@ if (op == "-") { if (op == "*") { console.log(Number(c) * Number(d)); } + +if (op == "/") { + console.log(Number(c) / Number(d)); +}