## Arithmetic Operators

Arithmetic Operators are used to perform basic mathematical arithmetic operators like addition, subtraction, multiplication, etc. The following table lists out all the arithmetic operators in Dart programming.

## Example

In the following program, we will take values in variables `x` and `y`, and perform arithmetic operations on these values using Dart Arithmetic Operators.

main.dart

```void main() {
var x = 5;
var y = 2;

var addition = x + y;
var subtraction = x - y;
var multiplication = x * y;
var division = x / y;
var division_1 = x / y;
var modulus = x % y;

print('x - y = \$subtraction');
print('x * y = \$multiplication');
print('x / y = \$division');
print('x ~/ y = \$division_1');
print('x % y = \$modulus');
print('x++ = \${++x}');
print('y-- = \${--y}');
}```

Output

```x + y = 7
x - y = 3
x * y = 10
x / y = 2.5
x ~/ y = 2.5
x % y = 1
x++ = 6
y-- = 1```

## Arithmetic Operators Tutorials

The following tutorials cover each of the Arithmetic Operators in Dart, in detail with examples.