multiplication added to calc app
This commit is contained in:
parent
48f2947880
commit
330b778ba8
@ -16,3 +16,7 @@ if (op == "+") {
|
||||
if (op == "-") {
|
||||
console.log(Number(c) - Number(d));
|
||||
}
|
||||
|
||||
if (op == "*") {
|
||||
console.log(Number(c) * Number(d));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user