The expression on the right side of the assignment operator allows you to calculate values using various formulas.< br />
What an expression can contain
x integers and real numbers (in real numbers, the integer and fractional parts are separated by a dot, not a comma, as is customary in mathematics);
• arithmetic signs:
+
addition;
-
subtraction;
*
multiplication;
/
division;
%
modulo.
• standard function calls:
Math.Abs(x)
- real number module x;
Math.Sqrt(x)
- square root of a real number x;
Math.Pow(x,y)
- calculates x to the power of y.
• parentheses to change the order of actions.