问题 Could someone give me an explanation why I get two different numbers, resp. 14 and 15, as an output from the following code? #include <stdio.h> int main() { double Vmax = 2.9; double Vmin = 1.4; double step = 0.1; double a =(Vmax-Vmin)/step; int b = (Vmax-Vmin)/step; int c = a; printf("%d %d",b,c); // 14 15, why? return 0; } I expect to get 15 in both cases but it seems I'm missing some fundamentals of the language. I am not sure if it's relevant but I was doing the test in CodeBlocks.