"Built In" Math Operations
"Built In" Math Operations
Add-Subtract-Multiply-Divide and Remainder
Add-Subtract-Multiply-Divide and Remainder
Most programming languages have built in math operations to add, subtract, multiply and divide. Usually, there is also an operation called modulus that computes the remainder from whole number division. For more sophisticated math operations, our programming languages require that we call up special math libraries or collections. These would include math operations like square root, exponents, trig functions and more. You also use parentheses and order of operations just as you would in algebra solutions.