int inSequence(int A, int B, int C){ float f=(B-A+C)/C; int i=(B-A+C)/C; if(i-f<0) return 0; return 1; } why is float here behaving as an int data type