Casting (cont.)
nConsider these expressions:
n 10/40 = 0
n (double)10/(double)40 = 0.25
n
n 10.0/40.0 = 0.25
n (int)10.0/(int)40.0 = 0
nCast operators have higher precedence than arithmetic operators.