Multiply

The multiply function takes two variables as parameters and returns the product of the two numbers.

Syntax

multiply(x, y)

Parameters

  • x: The first number to be multiplied.
  • y: The second number to be multiplied.

Examples

multiply(2, 3)  => 6
multiply(5, 5)  => 25
multiply(10, 10)  => 100