Basically, arithmetical operators (+, -, *, /) are the same as the mathematical ones. However, there are a few things to point out.
The most important thing to watch out is the kind of result you are expecting. If you will use two integers to perform a division, do not expect to get a real number, do not expect to get rounding, or any fractional part.… Read more