Operators

Because you need them for Coding apparently...

Basic Math Operators and Symbols

—Addition +


—Subtraction –


—Multiplication *


—Division /


—Integer Division \


—Exponents ^


Sample of Math with various Operators

dblResult = 3 + 4

dblResult = 4 – 3

dblResult = 3 * 4

dblResult = 3 * 4 + 5

dblResult = 3 * (4 + 5)

dblResult = 2^3 * 6



Our Top Instructors (They don't really exist.....)

Different Divisons

Regular Divison, Integer Divison and Modular Divison

Regular Divison: Rounds the decimal portion if assigned to an integer.

This is the division with which you are most familiar.


Integer Divison: cuts off the decimal portion and returns the integer ( \ )


Modular Divison: returns the remainder resulting form the division (mod)



D:

This is so boring. Help me D: