Write program to Find the remainder when 15 is divided by 9, using two variables x and y.

You can define the two variables as

var x; var y;

Use the modulus operator (%).

var x = 15; var y = 9; console.log( x % y );

- Arithmetic Operator
- Add Operator
- Subtract Operator
- Multiply Operator
- Divide Operator
- Modulus Operator
- Increment/Decrement Operators
- Unary Plus Operator
- Unary Minus Operator