2.4- Arithmetic Operations
08/15/2018
|
0:11:14
Adding, subtracting, multiplying, dividing (be careful!), exponents, square roots, and combined operations
2.4- Arithmetic Operations
Created: 08/15/2018
0:01:57
Dividing integers - what happens?
0:04:37
How to get a double answer to a division operation
0:05:48
Use casting to make an int take on the role of a double (like casting for a play or a movie)
0:06:52
Modulus division (remainder)
0:08:38
Square root with Math.sqrt( )
0:09:19
Combined operations: +=, -=, *=, /=, %= (x = x + 5 same as x += 5)