Subtract

This function calculates the subtraction of two numbers x and y.

Parameters

  • x (int): The first number.
  • y (int): The second number.

Returns

  • The subtraction of x and y .

Examples

subtract(3, 4)

Output: -1

subtract(6, 8)

Output: -2

subtract(2, -4)

Output: 6