Multiplication The multiplication operator (*) multiplies two or more numbers and returns the product of the operands.
let a =15; let b = 12; let c = a × b;
Example: In this example, we will use the multiplication operator to multiply two numbers.
Division The division operator (/) divides two or more numbers. the divided operand is known as the “dividend,” while the dividing operand is referred to as the “divisor.” The “quotient” is the value that remains after division.
a / b
let a = 50; let b = 20; let c = a / b;
Example: Below is the implementation of the above approach:
Please Login to comment...