Assignment, Increment, and Decrement

items++ is the same as items = items + 1

items-- subtracts 1 from items

Arithmetic Operations

7.0 / 4 yields 1.75
 
7 / 4 yields 1

Get the remainder with % (pronounced "modulo")
 
7 % 4 is 3