From 330b778ba8d6396fb6ab2a1643d7c68768e880d0 Mon Sep 17 00:00:00 2001 From: sweatshirt0 Date: Mon, 23 Jan 2023 15:50:31 -0500 Subject: [PATCH] multiplication added to calc app --- calculator.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/calculator.js b/calculator.js index 9d72219..713036a 100644 --- a/calculator.js +++ b/calculator.js @@ -16,3 +16,7 @@ if (op == "+") { if (op == "-") { console.log(Number(c) - Number(d)); } + +if (op == "*") { + console.log(Number(c) * Number(d)); +}