在我的代码中,输出是2.000000,而它应该是2.11111
#include<stdio.h>main(){ int i,j; float r; i = 19; j = 9; r = i / j; printf(" %f ",r);}
为什么它不起作用?
c floating-point floating-point-conversion
c ×1
floating-point ×1
floating-point-conversion ×1