division added to calc app; basic logic complete.
This commit is contained in:
parent
330b778ba8
commit
c757986d08
@ -20,3 +20,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