Operators

By: Will Cachine

Basic Math Operators

Addition = +

  • intTotal = intNum1 + intNum2

Subtraction = -

  • intTotal = intNum1 - intNum2

Multiplication = *

  • intTotal = intNum1 * intNum2

Division = /

  • intTotal = intNum1 / intNum2

Exponents = ^

  • intTotal = intNum1 ^ intNum2

These are Some Other Types of Division Operators:

Order of Operation

The order of operation is a system of logic that tells which operations are to be executed before others. In this system, the order is:

  1. Parentheses
  2. Exponents
  3. Multiplication
  4. Division
  5. Addition
  6. Subtration

Big image