### Description

**Subtraction** is one of the four primary arithmetic operations. The operator `-`

(minus) operates on two operands to produce the difference of the second from the first.

### Syntax

`difference = operand1 - operand2;`

### Parameters

`difference`

: variable. Allowed data types: `int`

, `float`

, `double`

, `byte`

, `short`

, `long`

.

`operand1`

: variable or constant. Allowed data types: `int`

, `float`

, `double`

, `byte`

, `short`

, `long`

.

`operand2`

: variable or constant. Allowed data types: `int`

, `float`

, `double`

, `byte`

, `short`

, `long`

.