Unlike many of the other posts I am wanting to find out why my code is automatically rounding down to the nearest whole number??
See code here
double sixes = 200/3;
double threes = 100/3;
System.out.println("Sixes: " + sixes + "\nThrees: " + threes);
See the output here:
Sixes: 66.0
Threes: 33.0
These should both be 66.66666666666
and 33.3333333333
respectively but I am not sure why they are being rounded down?