Question: WRITTEN IN JAVASCRIPT Create a function named multiply It should accept arguments a and b It should multiply a by b only using the addition
WRITTEN IN JAVASCRIPT
Create a function named multiply
It should accept arguments a and b
It should multiply a by b only using the addition operator + and a loop
Create a function named divide
It should accept arguments a and b
it should check if b is zero and return undefined if it is
it should divide a by b only using the subtraction operator - and a loop. You do not need to account for division with a remainder
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
