nAn expression like a<b<c is illegal.
nIf one operand is an
int and the other is a double, the int is first converted to a double. 10 > 2.5 º 10.0 > 2.5
nSince floating point
values are approximations for real numbers, we should avoid using equality or inequality operators with them.
n(1.0/6.0+1.0/6.0+1.0/6.0+
n 1.0/6.0+1.0/6.0+1.0/6.0) == 1.0 º false