Erlang – Arithmetic Operators
Following are the Arithmetic operators available in Erlang. OperatorDescriptionExample+Addition of two operands1 + 2 will give 3−Subtracts second operand from the first1 - 2 will give -1*Multiplication of both operands2…