Return to Assignment 3 homepage

An example for all of the operators on week 3 slide 11 for the 2 extra bonus points(it cuts off after post-increment, so I'm hoping there isnt more after that)

Addition: 10 + 5 = 15

Subtraction: 10 - 5 = 5

Multiplication: 10 * 5 = 50

Division: 10 / 5 = 2

Modulus: 10 % 5 = 0

Pre-increment: 6

Post-increment: 6


Addition will find the sum of two numbers

Subtraction will find the difference of two numbers

Multiplication will find the product of two numbers

Division will find the quotient of two numbers

Modulus will find the remainder of the division of the first number by the second.

Pre-increment will increment a number by one, then return the number

Post-increment will return a number, then increment the number by one