Scala Arithmetic Operators Example

Scala Arithmetic Operators Example

In this example, we will show you scala arithmetic operators examples.

Example Code

Output

Enter the first number :
50
Enter the second number :
3
Addition : 53
Subtraction : 47
Multiplication : 150
Division : 16
Modulus : 2