为什么结果不是-11.500000?
#include <stdio.h> int main() { int a,b,c,d; double result; a = 1; b = 2; c = 3; d = 4; result = a/b-c*d; printf("%f\n", result); return 0; }
#include <stdio.h> int main() { int a,b,c,d; double result; a = 1; b = 2; c = 3; d = 4; result = a/b-c*d; printf("%f\n", result); return 0; }
2015-09-26
举报