float f1, f2; f1=i/2; f2=(float) (i/2); f3=(float) i/2; printf(“%f %f %f”,f1, f2, f3);. • 1.000000 1.000000 1.500000. Ex: cast01.c. 敘述. • 單一敘述.
確定! 回上一頁