Why is this like that?
int i=1;
int x=2.0
What is the value and type of expression i/x?
i said .5 double because ones a double which should make the whole thing a double, right. The correct answer was 0 int, WHY?
someone please make me understand, please.